/* ==========================================
   BOLSTER UP CHEMICAL SOLUTION - STYLE SHEET
   ========================================== */

/* --- CSS Variables & Theme Configuration --- */
:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Stripe/Apple-Inspired Clean Glassmorphic Palette */
  --c-dark-bg: #f8fafc;
  --c-dark-panel: rgba(255, 255, 255, 0.85);
  --c-dark-border: rgba(255, 255, 255, 0.5);
  --c-light-bg: #f4f7fa;
  --c-light-card: rgba(255, 255, 255, 0.75);
  --c-light-border: rgba(255, 255, 255, 0.6);

  --c-text-dark: #0f172a;
  --c-text-light: #0f172a;
  --c-text-muted: #526077;

  /* Accents */
  --c-primary: #0ea5e9;
  --c-primary-hover: #0284c7;
  --c-secondary: #ff6b35;
  --c-secondary-hover: #e04f1a;
  --c-accent: #10b981;
  --c-accent-hover: #059669;

  /* Layout Constants */
  --header-height: 80px;
  --border-radius: 20px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 32px rgba(14, 165, 233, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 24px 50px rgba(14, 165, 233, 0.12), 0 1px 3px rgba(0, 0, 0, 0.02);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: var(--c-dark-bg);
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Accessibility Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-secondary);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* --- Layout Containers & Grid --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.reveal {
  opacity: 1 !important;
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--c-secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}
.btn-primary:hover {
  background-color: var(--c-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}

.btn-secondary {
  background-color: var(--c-secondary);
  color: #fff;
}
.btn-secondary:hover {
  background-color: var(--c-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 83, 38, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

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

.btn-block {
  width: 100%;
}

/* --- Header & Navigation (Dark Frosted Glass Capsule) --- */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1200px;
  height: 76px;
  background-color: rgba(15, 17, 23, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 38px;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header.is-scrolled {
  top: 0.75rem;
  height: 64px;
  background-color: rgba(15, 17, 23, 0.9);
  border-color: rgba(56, 189, 248, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56,189,248,0.06);
}

/* For non-home subpages */
body:not(.home-page) .site-header {
  background-color: rgba(15, 17, 23, 0.88);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--c-text-dark);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

/* Text block next to icon */
.brand-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--c-text-dark);
}
.brand-name strong {
  color: var(--c-secondary);
  font-weight: 800;
}
.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Legacy .brand-tag support */
.brand .brand-tag {
  font-size: 0.65rem;
  color: var(--c-text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  line-height: 1;
  margin-top: 0.15rem;
}
@media (max-width: 992px) {
  .brand .brand-tag,
  .brand-sub {
    display: none;
  }
}

/* Premium logomark */
.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ff7245 0%, var(--c-secondary) 55%, #e0450a 100%);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 14px rgba(224, 83, 38, 0.3),
    0 1px 3px rgba(224, 83, 38, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.brand-mark::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 60%
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.brand:hover .brand-mark::before {
  left: 150%;
}

/* Soft glow ring on hover */
.brand-mark::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: transparent;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.brand:hover .brand-mark::after {
  border-color: rgba(255, 107, 53, 0.25);
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.15);
}

.brand:hover .brand-mark {
  transform: scale(1.07) rotate(-4deg);
  box-shadow:
    0 8px 24px rgba(224, 83, 38, 0.4),
    0 2px 6px rgba(224, 83, 38, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-mark svg {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.main-nav a {
  color: var(--c-text-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.main-nav a:hover {
  background-color: rgba(14, 165, 233, 0.06);
  color: var(--c-primary);
}
.main-nav a.active {
  background-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 162, 232, 0.25);
}

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

.header-actions .icon-link {
  color: var(--c-text-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.header-actions .icon-link:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--c-primary);
  transform: translateY(-2px);
}
.header-actions .icon-link svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.03);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--c-text-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* --- Hero Section - Vibrant Blue-Cyan & Vermillion Orange (Pharmacy Layout) --- */
.hero-pharmacy {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #e0f2fe 0%, #ffffff 80%);
  color: var(--c-text-dark);
  padding: 180px 0 120px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}
.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--c-primary);
  top: 10%;
  right: 15%;
  animation: floatingBlob 8s ease-in-out infinite alternate;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--c-secondary);
  bottom: -10%;
  left: 5%;
  animation: floatingBlob 12s ease-in-out infinite alternate-reverse;
}
@keyframes floatingBlob {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 162, 232, 0.08);
  border: 1px solid rgba(0, 162, 232, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--c-primary);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--c-secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-secondary);
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 83, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(224, 83, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(224, 83, 38, 0); }
}

.text-orange {
  color: var(--c-secondary);
  text-shadow: 0 2px 10px rgba(224, 83, 38, 0.15);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
}
.btn-outline-white:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 162, 232, 0.15);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 12;
  animation: floatSlow 6s ease-in-out infinite alternate;
}
.card-1 {
  top: 15%;
  left: -20px;
}
.card-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: 2s;
}
.card-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.1;
}
.card-lbl {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  font-weight: 600;
}
@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

.hero-pharmacy .hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 162, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 162, 232, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}
.hero-pharmacy-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-pharmacy-left {
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-pharmacy-left h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--c-text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-pharmacy-left p.lead {
  font-size: 1.15rem;
  color: var(--c-text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.6;
}
.hero-pharmacy-left .hero-actions {
  display: flex;
  gap: 1rem;
}

/* Right Column Isometric Window Frame & 3D tilts */
.perspective-container {
  perspective: 1200px;
  transform-style: preserve-3d;
}
.tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.tilt-3d > * {
  transform: translateZ(30px);
}

.hero-pharmacy-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-pharmacy-window {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #ffffff;
  border: 8px solid rgba(0, 162, 232, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: var(--transition);
}
.hero-pharmacy-window:hover {
  transform: scale(1.03);
}
.hero-pharmacy-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* --- Section Layouts --- */
.section {
  padding: 80px 0;
  position: relative;
}
.section-tight {
  padding: 60px 0;
}
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-dark-bg);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}
.section-head h2 {
  font-size: 2.2rem;
  color: var(--c-text-dark);
  margin-bottom: 1rem;
}
.section-head p {
  color: var(--c-text-muted);
  font-size: 1.05rem;
}

/* --- Cards & Grid Layouts (Modern Flat Premium) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.modern-card {
  background: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.modern-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-dark-bg);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.modern-card:hover .card-icon {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}
.card-icon svg {
  width: 24px;
  height: 24px;
}

.modern-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--c-text-dark);
}
.modern-card p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

/* --- About Page & Company Profile --- */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.overview-art {
  position: relative;
}
.overview-art-frame {
  aspect-ratio: 4/3;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}
.overview-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--c-text-dark);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-dark-bg);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 220px;
}
.overview-badge .num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.overview-badge .lbl {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.highlight-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background-color: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.highlight-card:hover {
  border-color: var(--c-dark-bg);
  transform: translateY(-3px);
}
.highlight-card .ic {
  color: var(--c-primary);
  display: flex;
  align-items: center;
}
.highlight-card svg {
  width: 18px;
  height: 18px;
}

.branch-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.branch-chip {
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--c-light-border);
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.branch-chip.is-soon {
  border-color: rgba(0, 162, 232, 0.3);
  color: var(--c-dark-bg);
}
.branch-chip:hover {
  background: var(--c-dark-bg);
  color: #fff;
}
.branch-chip svg {
  width: 14px;
  height: 14px;
}

.mentor-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  color: var(--c-text-dark);
  border-radius: var(--border-radius);
  margin-top: 2rem;
  transition: var(--transition);
}
.mentor-card:hover {
  border-color: var(--c-dark-bg);
  box-shadow: var(--shadow-md);
}
.mentor-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-dark-bg), var(--c-primary));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.mentor-text h4 {
  font-size: 1.15rem;
  color: var(--c-text-dark);
  margin: 0.25rem 0 0.5rem;
}
.mentor-text .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--c-dark-bg);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.mentor-text p {
  color: var(--c-text-muted);
  font-size: 0.9rem;
}

/* --- Products Page --- */
.product-sidebar-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.product-menu {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-menu-item {
  padding: 1rem;
  border-radius: 12px;
  background-color: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  color: var(--c-text-dark);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.product-menu-item:hover,
.product-menu-item.active {
  background: linear-gradient(135deg, var(--c-dark-bg), var(--c-primary));
  color: #fff;
  font-weight: 600;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.product-detail-card {
  background-color: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  border-radius: var(--border-radius);
  padding: 3rem;
  display: none;
  transition: var(--transition);
  animation: revealUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-detail-card.active {
  display: block;
}
.product-detail-card:hover {
  border-color: var(--c-dark-bg);
  box-shadow: var(--shadow-md);
}
.product-detail-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--c-light-border);
  padding-bottom: 1.5rem;
}
.product-detail-header h3 {
  font-size: 2rem;
  color: var(--c-text-dark);
}
.product-meta-desc {
  color: var(--c-text-muted);
  margin-top: 0.5rem;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}
.tech-table th,
.tech-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--c-light-border);
}
.tech-table th {
  font-weight: 600;
  background-color: var(--c-light-bg);
  color: var(--c-text-dark);
}
.tech-table tr:hover td {
  background-color: rgba(0, 162, 232, 0.04);
}

.usage-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-top: 1rem;
}
.usage-list li {
  margin-bottom: 0.5rem;
  color: var(--c-text-muted);
}

/* --- Clients Page --- */
.client-group-section {
  margin-bottom: 4rem;
}
.client-group-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--c-text-dark);
  border-bottom: 2px solid var(--c-light-border);
  padding-bottom: 0.5rem;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.client-logo-card {
  background-color: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}
.client-logo-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-dark-bg);
  box-shadow: var(--shadow-md);
}
.client-logo-card .client-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-text-dark);
}
.client-logo-card .client-loc {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.25rem;
}

/* --- Forms & Validation Inputs --- */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

.form-card {
  background: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.form-card:hover {
  border-color: var(--c-dark-bg);
  box-shadow: var(--shadow-lg);
}
.form-card h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  color: var(--c-text-dark);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--c-text-dark);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--c-light-border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.03);
  color: #fff;
}
.form-control:focus {
  outline: none;
  border-color: var(--c-primary);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(0, 162, 232, 0.2);
}

.form-help {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.25rem;
}

.product-selection-list {
  background-color: var(--c-light-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--c-light-border);
  margin-bottom: 1.5rem;
}
.product-row {
  display: grid;
  grid-template-columns: 1fr 150px auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.product-row:last-child {
  margin-bottom: 0;
}
.btn-remove-row {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  padding: 0.5rem;
}
.btn-remove-row:hover {
  color: #dc2626;
}

.form-success-msg {
  display: none;
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--c-accent);
  color: var(--c-accent-hover);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
  animation: revealUp 0.5s ease;
}

/* --- Contact Page Extras --- */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info-panel {
  background-color: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-info-panel:hover {
  border-color: var(--c-dark-bg);
  box-shadow: var(--shadow-md);
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item:last-child {
  margin-bottom: 0;
}
.contact-info-item .icon {
  color: var(--c-dark-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.contact-info-item svg {
  width: 24px;
  height: 24px;
}
.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.contact-info-item p,
.contact-info-item a {
  color: var(--c-text-muted);
  font-size: 0.9rem;
}

.map-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--c-light-border);
  box-shadow: var(--shadow-sm);
  height: 300px;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Track Order Page --- */
.track-card {
  max-width: 600px;
  margin: 40px auto;
}
.track-results {
  display: none;
  margin-top: 3rem;
  border-top: 1px solid var(--c-light-border);
  padding-top: 2rem;
  animation: revealUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tracking Timeline Styles */
.timeline-stepper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  padding-left: 2rem;
}
.timeline-stepper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6px;
  width: 2px;
  height: 100%;
  background-color: var(--c-light-border);
  z-index: 1;
}
.timeline-step {
  position: relative;
  z-index: 2;
}
.timeline-step::before {
  content: '';
  position: absolute;
  top: 4px;
  left: -29px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--c-light-border);
  transition: var(--transition);
}
.timeline-step.active::before {
  border-color: var(--c-dark-bg);
  background-color: var(--c-dark-bg);
  box-shadow: 0 0 0 5px rgba(0, 162, 232, 0.25);
}
.timeline-step.completed::before {
  border-color: var(--c-accent);
  background-color: var(--c-accent);
}
.timeline-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--c-text-muted);
}
.timeline-step.active h4,
.timeline-step.completed h4 {
  color: var(--c-text-dark);
}
.timeline-step p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

/* ============ REDESIGNED PREMIUM FOOTER ============ */
.site-footer {
  background-color: #ffffff;
  color: var(--c-text-dark);
  border-top: 1px solid var(--c-light-border);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

/* Footer Top Callout Banner */
.footer-cta-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, #0284c7 100%);
  border-radius: 24px;
  padding: 2.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.5rem;
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
  color: #ffffff;
}
.cta-banner-text h4 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
}
.cta-banner-text p {
  font-size: 0.95rem;
  opacity: 0.9;
}
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-banner-actions .btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}
.cta-banner-actions .btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}
.cta-banner-actions .btn-primary {
  background-color: #ffffff;
  color: var(--c-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.cta-banner-actions .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

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

.footer-brand .brand-desc {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin: 1.25rem 0 1.5rem;
  line-height: 1.6;
}

.footer-social-group {
  display: flex;
  gap: 0.75rem;
}
.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.05);
  border: 1px solid rgba(14, 165, 233, 0.1);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-circle:hover {
  background-color: var(--c-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}
.social-circle svg {
  width: 18px;
  height: 18px;
}

.site-footer h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--c-primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-links-list a {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-block;
}
.footer-links-list a:hover {
  color: var(--c-primary);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--c-text-muted);
  font-size: 0.92rem;
}
.footer-contact-list li .contact-text {
  line-height: 1.5;
}
.footer-contact-list li a {
  color: var(--c-text-muted);
}
.footer-contact-list li a:hover {
  color: var(--c-primary);
}
.phones-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--c-light-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.origin-tag {
  background-color: rgba(14, 165, 233, 0.06);
  color: var(--c-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.78rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}
.legal-links a {
  color: var(--c-text-muted);
  transition: var(--transition);
}
.legal-links a:hover {
  color: var(--c-primary);
}

/* Responsive adjustment */
@media (max-width: 992px) {
  .footer-cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-left {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* --- Floating Actions Bar --- */
.float-stack {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  color: #fff;
}
.float-btn svg {
  width: 22px;
  height: 22px;
}
.float-whatsapp {
  background-color: #25d366;
}
.float-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-3px) scale(1.05);
}
.float-call {
  background-color: var(--c-secondary);
}
.float-call:hover {
  background-color: var(--c-secondary-hover);
  transform: translateY(-3px) scale(1.05);
}
.float-top {
  background-color: var(--c-light-bg);
  border: 1px solid var(--c-light-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.float-top::before {
  content: '↑';
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--c-text-dark);
}
.float-top:hover {
  background-color: var(--c-light-border);
}
.float-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Media Queries --- */
@media (max-width: 1200px) {
  .site-header {
    width: calc(100% - 1.5rem);
  }
  .main-nav a {
    padding: 0.45rem 0.65rem;
    font-size: 0.8rem;
  }
  .header-actions {
    gap: 0.4rem;
  }
  .header-actions .btn-sm {
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 992px) {
  .hero-pharmacy-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-pharmacy-left .hero-actions {
    justify-content: center;
  }
  .hero-pharmacy-window {
    width: 320px;
    height: 320px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-sidebar-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-menu {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .product-menu-item {
    white-space: nowrap;
  }
  .form-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 880px) {
  .main-nav {
    display: none; /* Hide standard nav when menu is small */
  }
  .nav-toggle {
    display: flex !important;
  }
  .site-header {
    height: 68px !important;
  }
  .site-header.is-scrolled {
    height: 64px !important;
  }
  
  /* Mobile drawer navigation layout */
  .main-nav-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    padding: 2rem 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .main-nav-mobile.is-active {
    left: 0;
  }
  .main-nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
  }
  .main-nav-mobile a {
    color: var(--c-text-dark);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .main-nav-mobile a.active {
    color: var(--c-primary);
    border-bottom-color: var(--c-primary);
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 60px !important;
    padding: 0 0.5rem !important;
    top: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
  }
  .site-header.is-scrolled {
    top: 0 !important;
    height: 60px !important;
  }
  .brand-name {
    font-size: 1rem !important;
  }
  .brand-sub {
    font-size: 0.55rem !important;
  }
  .header-actions .contact-btn {
    display: none;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* --- Irregular Organic Fluid Shapes & Staggered Stack (No Cards) --- */
.fluid-shapes-stack {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 4.5rem;
}
.shapes-stack-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.shapes-stack-row:nth-child(even) {
  flex-direction: row-reverse;
}
.shapes-stack-col-shape,
.shapes-stack-col-content {
  flex: 1;
  width: 50%;
}

/* Supporting content panels */
.supporting-info-card {
  padding: 1rem;
  text-align: left;
}
.supporting-info-card h4 {
  font-size: 1.5rem;
  color: var(--c-text-dark);
  margin-bottom: 0.75rem;
  position: relative;
}
.supporting-check-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.supporting-check-list li {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.check-bullet {
  color: var(--c-accent);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.stats-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.stat-mini-item {
  background: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  padding: 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stat-mini-item .num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-primary);
}
.stat-mini-item .lbl {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

.pricing-bar-visual {
  background: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
}
.bar-row span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-dark);
  display: block;
  margin-bottom: 0.25rem;
}
.bar-track {
  height: 20px;
  background: #f1f5f9;
  border-radius: 50px;
  overflow: hidden;
  width: 100%;
}
.bar-fill {
  height: 100%;
  border-radius: 50px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.75rem;
}

.branch-timeline-vertical {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--c-light-border);
}
.timeline-node {
  position: relative;
  font-size: 0.95rem;
  color: var(--c-text-dark);
}
.timeline-node::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 2px solid #fff;
}
.timeline-node:nth-child(even)::before {
  background: var(--c-secondary);
}

@media (max-width: 992px) {
  .shapes-stack-row,
  .shapes-stack-row:nth-child(even) {
    flex-direction: column;
    gap: 3rem;
  }
  .shapes-stack-col-shape,
  .shapes-stack-col-content {
    width: 100%;
  }
}
.shape-fluid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 2.2rem;
  transition: var(--transition);
  color: var(--c-text-dark);
  box-shadow: 0 15px 35px rgba(0, 162, 232, 0.06);
  border: 1px solid rgba(0, 162, 232, 0.08);
}
.shape-fluid h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.shape-fluid p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.shape-fluid:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 45px rgba(0, 162, 232, 0.12);
}

.shape-blob-1 {
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  background: linear-gradient(135deg, rgba(0, 162, 232, 0.04) 0%, rgba(0, 162, 232, 0.1) 100%);
  animation: morphBlob1 8s ease-in-out infinite alternate;
}
.shape-drop-2 {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.shape-drop-2::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0% 50% 50% 50%;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, rgba(224, 83, 38, 0.04) 0%, rgba(224, 83, 38, 0.1) 100%);
  border: 1px solid rgba(224, 83, 38, 0.08);
  box-shadow: 0 15px 35px rgba(224, 83, 38, 0.04);
  z-index: -1;
  transition: var(--transition);
}
.shape-drop-2:hover::before {
  box-shadow: 0 25px 45px rgba(224, 83, 38, 0.15);
}
.shape-drop-2 .drop-inner {
  text-align: center;
  width: 100%;
}

.shape-organic-3 {
  border-radius: 65% 35% 62% 38% / 55% 40% 60% 45%;
  background: linear-gradient(135deg, rgba(0, 162, 232, 0.04) 0%, rgba(0, 162, 232, 0.1) 100%);
  animation: morphBlob2 9s ease-in-out infinite alternate;
}
.shape-wave-4 {
  border-radius: 50% 30% 70% 40% / 50% 60% 30% 60%;
  background: linear-gradient(135deg, rgba(224, 83, 38, 0.04) 0%, rgba(224, 83, 38, 0.1) 100%);
  border-color: rgba(224, 83, 38, 0.08);
}

@keyframes morphBlob1 {
  0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  100% { border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; }
}
@keyframes morphBlob2 {
  0% { border-radius: 65% 35% 62% 38% / 55% 40% 60% 45%; }
  100% { border-radius: 45% 55% 40% 60% / 45% 50% 50% 55%; }
}

/* --- Showcase Section: Stacked 3D Product Deck --- */
.product-deck-container {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-cards-deck {
  position: relative;
  width: 100%;
  height: 100%;
}

.deck-card-wrapper {
  position: absolute;
  width: 310px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              z-index 0.5s ease;
}

/* Stagger positions for wrappers */
.wrapper-cup {
  top: 10px;
  left: 0;
  z-index: 10;
}
.wrapper-dech-a {
  top: 70px;
  left: 40px;
  z-index: 11;
}
.wrapper-dech-l {
  top: 130px;
  left: 80px;
  z-index: 12;
}
.wrapper-micro {
  top: 190px;
  left: 120px;
  z-index: 13;
}

/* Fan out deck slightly on container hover to reveal obscured cards */
.product-cards-deck:hover .wrapper-cup {
  transform: translate(-10px, -20px);
}
.product-cards-deck:hover .wrapper-dech-a {
  transform: translate(5px, -10px);
}
.product-cards-deck:hover .wrapper-dech-l {
  transform: translate(20px, 0px);
}
.product-cards-deck:hover .wrapper-micro {
  transform: translate(35px, 10px);
}

/* Active hovered card wrapper pops forward and scales up */
.deck-card-wrapper:hover {
  z-index: 50 !important;
  transform: translate(-25px, -35px) scale(1.04) !important;
}

.mini-product-deck-card {
  width: 100%;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Card hover shadow and border change */
.deck-card-wrapper:hover .mini-product-deck-card {
  box-shadow: 0 25px 50px rgba(14, 165, 233, 0.15), 0 1px 3px rgba(0, 0, 0, 0.02);
  border-color: rgba(14, 165, 233, 0.3);
}

/* Card details design */
.deck-card-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.mini-product-deck-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text-dark);
}

.deck-card-desc {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 1.25rem;
}

.deck-card-spec {
  border-top: 1px solid rgba(0, 162, 232, 0.08);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
}

.spec-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-primary);
}
.mini-product-deck-card.card-dech-a .spec-val,
.mini-product-deck-card.card-micro .spec-val {
  color: var(--c-secondary);
}

.spec-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
  font-weight: 600;
}

.product-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
}
.badge-blue {
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--c-primary);
}
.badge-orange {
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--c-secondary);
}

/* Floating Trust Badge */
.product-deck-trust-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  max-width: 280px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.product-deck-trust-badge:hover {
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
  transform: translateY(-5px);
}
.badge-icon-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-hover) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.2);
}
.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.badge-text strong {
  font-size: 0.9rem;
  color: var(--c-text-dark);
}
.badge-text span {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

/* Responsive stack adjustments */
@media (max-width: 992px) {
  .product-deck-container {
    height: auto;
    min-height: 480px;
    margin-bottom: 2rem;
  }
  .product-cards-deck {
    width: 320px;
    margin: 0 auto;
  }
  .deck-card-wrapper {
    width: 280px;
  }
  .wrapper-cup { left: 0; }
  .wrapper-dech-a { left: 20px; }
  .wrapper-dech-l { left: 40px; }
  .wrapper-micro { left: 60px; }
  
  .product-cards-deck:hover .wrapper-cup { transform: translate(-5px, -10px); }
  .product-cards-deck:hover .wrapper-dech-a { transform: translate(5px, -5px); }
  .product-cards-deck:hover .wrapper-dech-l { transform: translate(15px, 0px); }
  .product-cards-deck:hover .wrapper-micro { transform: translate(25px, 5px); }
  
  .product-deck-trust-badge {
    right: 0;
    bottom: 10px;
  }
}

/* --- Industries Section: Expanding Column Panels --- */
.industries-panels {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  margin-top: 3rem;
}

.industry-panel {
  flex: 1;
  height: 380px;
  background: var(--c-light-card);
  border: 1px solid var(--c-light-border);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.6s ease,
              border-color 0.6s ease,
              box-shadow 0.6s ease;
  cursor: pointer;
}

/* Base glowing background indicator */
.panel-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-color: var(--theme-color);
  filter: blur(55px);
  opacity: 0.1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease;
  pointer-events: none;
}

.panel-content-wrap {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-icon-box {
  align-self: flex-start;
}

.panel-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(var(--theme-rgb), 0.08);
  color: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.5s,
              color 0.5s,
              box-shadow 0.5s;
}
.panel-icon svg {
  width: 24px;
  height: 24px;
}

.panel-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 0.75rem;
  transition: color 0.4s;
}

.panel-text p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  transition: color 0.4s;
  max-width: 90%;
}

.panel-arrow {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  font-size: 1.25rem;
  color: var(--c-text-muted);
  opacity: 0.3;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s,
              opacity 0.4s;
}

/* Hover Expanding Effect */
.industry-panel:hover {
  flex: 1.5;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(var(--theme-rgb), 0.04) 100%);
  border-color: rgba(var(--theme-rgb), 0.35);
  box-shadow: 0 30px 60px rgba(var(--theme-rgb), 0.12), var(--shadow-md);
}

.industry-panel:hover .panel-glow {
  transform: scale(2.2);
  opacity: 0.25;
}

.industry-panel:hover .panel-icon {
  background: var(--theme-color);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(var(--theme-rgb), 0.3);
}

.industry-panel:hover .panel-arrow {
  transform: translateX(6px);
  color: var(--theme-color);
  opacity: 1;
}

/* Responsive collapse to column list */
@media (max-width: 768px) {
  .industries-panels {
    flex-direction: column;
    gap: 1.5rem;
  }
  .industry-panel {
    height: auto;
    min-height: 220px;
    padding: 2rem;
  }
  .panel-content-wrap {
    gap: 1.5rem;
  }
  .industry-panel:hover {
    flex: none;
    transform: translateY(-5px);
  }
}

/* Medium viewport navigation spacing adjustments */
@media (min-width: 769px) and (max-width: 1200px) {
  .site-header {
    width: calc(100% - 1.5rem);
    top: 1rem;
  }
  .header-inner {
    padding: 0 1.25rem;
  }
  .brand {
    font-size: 1.1rem;
    gap: 0.5rem;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .main-nav a {
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }
  .main-nav ul {
    gap: 0.15rem;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .header-actions .icon-link {
    width: 32px;
    height: 32px;
  }
  .btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
  }
}

/* ============ PRODUCTS PAGE HERO SECTION ============ */
.products-hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #e0f2fe 0%, #ffffff 80%);
  color: var(--c-text-dark);
  padding: 160px 0 100px;
  overflow: hidden;
}
.products-hero .hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 162, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 162, 232, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.products-hero-wrapper {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.products-hero-left h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.products-hero-left p.lead {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  margin: 1rem 0 2rem;
  line-height: 1.6;
}

.hero-meta-details {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-muted);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--c-light-border);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}
.meta-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-primary);
}
.meta-dot.bg-orange {
  background-color: var(--c-secondary);
}

/* Right column visual widget */
.products-hero-visual {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0,0,0,0.01);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 162, 232, 0.08);
  padding-bottom: 1rem;
}
.status-indicator {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-primary);
}
.doc-badge {
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--c-secondary);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.visual-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.visual-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}
.visual-row .lbl {
  color: var(--c-text-muted);
}
.visual-row .val {
  font-weight: 600;
  color: var(--c-text-dark);
}
.visual-row .val.success {
  color: var(--c-accent);
}
.visual-footer {
  background-color: rgba(14, 165, 233, 0.05);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  text-align: center;
}
.footer-note {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-primary);
}

/* Products page hero - quick links */
.products-hero-quicklinks {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.hero-product-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-text-dark);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.hero-product-chip:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.25);
}
.hero-product-chip .chip-num {
  background: rgba(14, 165, 233, 0.12);
  color: var(--c-primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  transition: var(--transition);
}
.hero-product-chip:hover .chip-num {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ============ UNIVERSAL INNER PAGE HERO ============ */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #fff7f5 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(150deg, rgba(14, 165, 233, 0.03) 0%, rgba(255, 107, 53, 0.03) 100%);
  z-index: 0;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 1;
}

.page-hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.page-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.18;
}
.page-hero-blob-1 {
  width: 350px; height: 350px;
  background: var(--c-primary);
  top: -60px; right: 10%;
  animation: floatingBlob 9s ease-in-out infinite alternate;
}
.page-hero-blob-2 {
  width: 280px; height: 280px;
  background: var(--c-secondary);
  bottom: -40px; left: 5%;
  animation: floatingBlob 13s ease-in-out infinite alternate-reverse;
}

.page-hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: center;
}

.page-hero-content {
  max-width: 720px;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.18);
  color: var(--c-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background-color: var(--c-primary);
  animation: badgePulse 2s infinite;
}

.page-hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--c-text-dark);
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2rem;
}

.page-hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  width: fit-content;
}
.page-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 1.5rem;
}
.page-hero-stat:first-child { padding-left: 0; }
.page-hero-stat:last-child { padding-right: 0; }
.page-hero-stat + .page-hero-stat {
  border-left: 1px solid var(--c-light-border);
}
.page-hero-stat .stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-text-dark);
  line-height: 1;
  font-family: var(--font-heading);
}
.page-hero-stat .stat-num span {
  color: var(--c-primary);
}
.page-hero-stat .stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero visual icon panel (right side) */
.page-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-icon-panel {
  width: 200px;
  height: 200px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 24px 60px rgba(14, 165, 233, 0.15);
  animation: floatSlow 7s ease-in-out infinite alternate;
  overflow: visible;
}
.hero-icon-panel svg {
  width: 88px;
  height: 88px;
  position: relative;
  z-index: 2;
}
.icon-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
  top: 50%; left: 50%;
  animation: spinSlow 10s linear infinite;
}
.icon-ring-1 {
  width: 150px; height: 150px;
  border-color: rgba(14, 165, 233, 0.15);
  transform: translate(-50%, -50%);
}
.icon-ring-2 {
  width: 185px; height: 185px;
  border-color: rgba(255, 107, 53, 0.1);
  transform: translate(-50%, -50%);
  animation-direction: reverse;
  animation-duration: 16s;
}
.icon-ring-3 {
  width: 225px; height: 225px;
  border-color: rgba(14, 165, 233, 0.06);
  transform: translate(-50%, -50%);
  animation-duration: 22s;
}

@keyframes spinSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Panel color variants */
.hero-about-panel   { background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%); }
.hero-clients-panel { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.hero-buy-panel     { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); }
.hero-contact-panel { background: linear-gradient(135deg, #fdf4ff 0%, #f3e8ff 100%); }
.hero-track-panel   { background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 100%); }

/* Breadcrumb trail */
.page-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
}
.page-hero-breadcrumb a {
  color: var(--c-text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.page-hero-breadcrumb a:hover { color: var(--c-primary); }
.page-hero-breadcrumb .sep { opacity: 0.5; }
.page-hero-breadcrumb .current { color: var(--c-text-dark); font-weight: 600; }

/* CTA links inside hero */
.page-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ============ PAGE HERO RESPONSIVE ============ */
@media (max-width: 992px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .page-hero-content { max-width: 100%; }
  .page-hero-desc { max-width: 100%; }
  .page-hero-stats { margin: 0 auto; }
  .page-hero-eyebrow { margin-left: auto; margin-right: auto; }
  .page-hero-visual { display: none; }
  .page-hero-breadcrumb { margin-left: auto; margin-right: auto; }
  .page-hero-actions { justify-content: center; }

  .products-hero-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-meta-details { justify-content: center; }
  .products-hero-visual { max-width: 400px; margin: 0 auto; }
  .products-hero-quicklinks { justify-content: center; }
}

/* ================================================================
   ALTERNATING SECTION LIGHT / DARK SYSTEM
   .section-light  → clean off-white with dark text
   .section-dark   → deep navy with light text
   ================================================================ */

/* ── Light section ─────────────────────────────────────────── */
.section-light {
  background-color: var(--s-light-bg);
  color: var(--s-light-text);
}
.section-light .section-head h2,
.section-light h2,
.section-light h3,
.section-light h4 { color: var(--s-light-text); }
.section-light .section-head p,
.section-light p,
.section-light .eyebrow { color: var(--s-light-muted); }
.section-light .eyebrow { color: var(--c-primary); }

.section-light .modern-card,
.section-light .supporting-info-card,
.section-light .highlight-card,
.section-light .shape-fluid,
.section-light .mini-product-deck-card {
  background: var(--s-light-card);
  border-color: var(--s-light-border);
  box-shadow: 0 4px 20px rgba(15,23,42,0.07);
  color: var(--s-light-text);
}
.section-light .modern-card:hover,
.section-light .shape-fluid:hover {
  box-shadow: 0 14px 40px rgba(14,165,233,0.12);
  border-color: rgba(14, 165, 233, 0.2);
}
.section-light .industry-panel {
  background: var(--s-light-card) !important;
  border-color: var(--s-light-border) !important;
  color: var(--s-light-text) !important;
}
.section-light .client-logo-card {
  background: var(--s-light-card) !important;
  border-color: var(--s-light-border) !important;
}
.section-light .stat-mini-item .num { color: var(--c-primary); }
.section-light .stat-mini-item .lbl { color: var(--s-light-muted); }
.section-light .bar-track { background: rgba(15,23,42,0.08); }

/* ── Dark section ─────────────────────────────────────────── */
.section-dark {
  background-color: var(--s-dark-bg);
  color: var(--s-dark-text);
}
.section-dark .section-head h2,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--s-dark-text); }
.section-dark .section-head p,
.section-dark p { color: var(--s-dark-muted); }
.section-dark .eyebrow { color: var(--c-primary); }

.section-dark .modern-card,
.section-dark .supporting-info-card,
.section-dark .highlight-card,
.section-dark .shape-fluid,
.section-dark .mini-product-deck-card {
  background: var(--s-dark-card);
  border-color: var(--s-dark-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: var(--s-dark-text);
}
.section-dark .modern-card:hover,
.section-dark .shape-fluid:hover {
  border-color: rgba(56,189,248,0.2);
  background: rgba(35,43,64,0.95);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.section-dark .industry-panel {
  background: var(--s-dark-card) !important;
  border-color: var(--s-dark-border) !important;
  color: var(--s-dark-text) !important;
}
.section-dark .client-logo-card {
  background: var(--s-dark-card) !important;
  border-color: var(--s-dark-border) !important;
}
.section-dark .client-name { color: var(--s-dark-text) !important; }
.section-dark .client-group-title { color: var(--s-dark-text) !important; border-bottom-color: var(--s-dark-border) !important; }
.section-dark .stat-mini-item .num { color: var(--c-primary); }
.section-dark .stat-mini-item .lbl { color: var(--s-dark-muted); }
.section-dark .bar-track { background: rgba(255,255,255,0.06); }
.section-dark .timeline-node { color: var(--s-dark-muted); }
.section-dark .timeline-node strong { color: var(--s-dark-text); }
.section-dark .tech-table th { background: rgba(56,189,248,0.08) !important; color: var(--c-primary) !important; border-color: var(--s-dark-border) !important; }
.section-dark .tech-table td { border-color: var(--s-dark-border) !important; color: var(--s-dark-text) !important; }
.section-dark .tech-table tr:hover td { background: rgba(56,189,248,0.04) !important; }
.section-dark .product-menu { background: rgba(20,25,40,0.7) !important; border-color: var(--s-dark-border) !important; }
.section-dark .product-menu-item { color: rgba(232,237,245,0.7) !important; border-bottom-color: var(--s-dark-border) !important; }
.section-dark .product-menu-item:hover { background: rgba(56,189,248,0.06) !important; color: var(--c-primary) !important; }
.section-dark .product-menu-item.active { background: var(--c-primary) !important; color: #fff !important; }
.section-dark .product-detail-card { background: rgba(20,25,40,0.7) !important; border-color: var(--s-dark-border) !important; }
.section-dark .form-card { background: rgba(22,27,42,0.85) !important; border-color: var(--s-dark-border) !important; }
.section-dark .form-control { background: rgba(10,12,20,0.8) !important; border-color: var(--s-dark-border) !important; color: var(--s-dark-text) !important; }
.section-dark .form-control::placeholder { color: rgba(138,154,181,0.5) !important; }
.section-dark .form-label { color: rgba(232,237,245,0.7) !important; }
.section-dark select.form-control option { background: #111827; color: var(--s-dark-text); }

/* ── Header: dark frosted glass (always dark) ──────────────── */
.site-header {
  background-color: rgba(10, 12, 20, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(255,255,255,0.07);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
}
.site-header.is-scrolled {
  background-color: rgba(10, 12, 20, 0.92);
  border-color: rgba(56,189,248,0.1);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
body:not(.home-page) .site-header {
  background-color: rgba(10, 12, 20, 0.88);
}
.main-nav a { color: rgba(232,237,245,0.78); }
.main-nav a:hover { background: rgba(56,189,248,0.1); color: var(--c-primary); }
.main-nav a.active { background: var(--c-primary); color: #fff; box-shadow: 0 4px 14px rgba(56,189,248,0.28); }
.brand-name { color: #e8edf5; }
.brand-sub, .brand .brand-tag { color: rgba(138,154,181,0.8); }
.nav-toggle { background: rgba(255,255,255,0.06); color: #e8edf5; }
.nav-toggle:hover { background: rgba(255,255,255,0.12); }
.header-actions .icon-link { color: rgba(232,237,245,0.75); background: rgba(255,255,255,0.05); }
.header-actions .icon-link:hover { background: rgba(56,189,248,0.12); color: var(--c-primary); }

/* ── Hero sections (always dark) ──────────────────────────── */
.hero-pharmacy {
  background: radial-gradient(ellipse at 70% 0%, rgba(56,189,248,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255,107,53,0.06) 0%, transparent 50%),
              linear-gradient(180deg, #0d1117 0%, #111827 100%);
}
.hero-pharmacy .hero-bg-grid {
  background-image:
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px);
}
.hero-floating-card {
  background: rgba(24,30,46,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.hero-pharmacy-window {
  background: #1a2030;
  border-color: rgba(56,189,248,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.page-hero {
  background: linear-gradient(135deg, #0c1220 0%, #0d1117 55%, #130f1a 100%);
}
.page-hero-grid {
  background-image:
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px);
}
.page-hero-breadcrumb a { color: rgba(138,154,181,0.65); }
.page-hero-breadcrumb .sep { color: rgba(138,154,181,0.3); }
.page-hero-breadcrumb .current { color: #e8edf5; }
.products-hero {
  background: radial-gradient(ellipse at 80% 10%, rgba(56,189,248,0.08) 0%, transparent 55%),
              linear-gradient(180deg, #0d1117 0%, #111827 100%);
}
.products-hero .hero-bg-grid {
  background-image:
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px);
}
.products-hero-visual { background: rgba(18,24,38,0.9); border-color: rgba(255,255,255,0.07); }
.hero-product-chip { background: rgba(22,28,44,0.8); border-color: rgba(56,189,248,0.15); color: #e8edf5; }
.hero-product-chip:hover { background: var(--c-primary); color: #fff; }

/* ── Footer: always very dark ──────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, #090c14 0%, #06080e 100%) !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}
.footer-cta-banner {
  background: linear-gradient(135deg, rgba(56,189,248,0.07) 0%, rgba(255,107,53,0.05) 100%) !important;
  border-color: rgba(255,255,255,0.07) !important;
}
.footer-links-list a { color: rgba(138,154,181,0.7) !important; }
.footer-links-list a:hover { color: var(--c-primary) !important; }
.footer-contact-list .contact-text,
.footer-contact-list .contact-text a { color: rgba(138,154,181,0.7) !important; }
.footer-contact-list a.contact-text:hover { color: var(--c-primary) !important; }
.footer-bottom { border-top-color: rgba(255,255,255,0.05) !important; color: rgba(138,154,181,0.45) !important; }
.origin-tag { background: rgba(255,255,255,0.04) !important; border-color: rgba(255,255,255,0.06) !important; color: rgba(138,154,181,0.55) !important; }
.legal-links a { color: rgba(138,154,181,0.45) !important; }
.legal-links a:hover { color: var(--c-primary) !important; }
.social-circle { background: rgba(255,255,255,0.05) !important; border-color: rgba(255,255,255,0.08) !important; color: rgba(138,154,181,0.65) !important; }
.social-circle:hover { background: rgba(56,189,248,0.12) !important; color: var(--c-primary) !important; }
.brand-desc { color: rgba(138,154,181,0.65) !important; }

/* ── Shared utilities ──────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--c-primary) 20%, var(--c-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111827; }
::-webkit-scrollbar-thumb { background: rgba(14,165,233,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(14,165,233,0.5); }


/* --- Navigation links on dark header --- */
.main-nav a {
  color: rgba(232, 237, 245, 0.8);
}
.main-nav a:hover {
  background-color: rgba(56, 189, 248, 0.1);
  color: var(--c-primary);
}
.main-nav a.active {
  background-color: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

/* Brand name on dark header */
.brand-name { color: #e8edf5; }
.brand .brand-tag,
.brand-sub { color: rgba(138, 154, 181, 0.85); }

/* Nav toggle burger on dark bg */
.nav-toggle {
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf5;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.12); }

/* --- Hero Section backgrounds (dark) --- */
.hero-pharmacy {
  background: radial-gradient(ellipse at 70% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
              linear-gradient(180deg, #0f1117 0%, #141821 100%);
}
.hero-pharmacy .hero-bg-grid {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
}

/* Hero floating stat cards — dark glass */
.hero-floating-card {
  background: rgba(26, 31, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.hero-pharmacy-window {
  background: #1a1f2e;
  border-color: rgba(56, 189, 248, 0.12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Page hero (inner pages) — dark version */
.page-hero {
  background: linear-gradient(135deg, #0c1220 0%, #0f1117 50%, #130f1a 100%);
}
.page-hero::before {
  background: linear-gradient(150deg, rgba(56, 189, 248, 0.03) 0%, rgba(255, 107, 53, 0.03) 100%);
}
.page-hero-grid {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
}
.page-hero-blob-1 { opacity: 0.25; }
.page-hero-blob-2 { opacity: 0.18; }
.page-hero-breadcrumb a { color: rgba(138, 154, 181, 0.7); }
.page-hero-breadcrumb .current { color: #e8edf5; }

/* Products hero — dark */
.products-hero {
  background: radial-gradient(ellipse at 80% 10%, rgba(56, 189, 248, 0.08) 0%, transparent 55%),
              linear-gradient(180deg, #0f1117 0%, #141821 100%);
}
.products-hero .hero-bg-grid {
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
}
.products-hero-visual {
  background: rgba(22, 27, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.visual-header {
  border-bottom-color: rgba(56, 189, 248, 0.1);
}
.hero-product-chip {
  background: rgba(26, 31, 46, 0.8);
  border-color: rgba(56, 189, 248, 0.15);
  color: #e8edf5;
}
.hero-product-chip:hover {
  background: var(--c-primary);
  color: #fff;
}

/* --- Section backgrounds --- */
.section { background-color: var(--c-page-bg); }
.overview, .section.overview { background-color: var(--c-page-bg); }
.values { background-color: var(--c-page-bg-2) !important; border-top-color: rgba(255,255,255,0.05) !important; }

/* --- Cards (dark glass) --- */
.modern-card {
  background: rgba(26, 31, 46, 0.7);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.modern-card:hover {
  border-color: rgba(56, 189, 248, 0.2);
  background: rgba(30, 36, 55, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.card-icon {
  background: rgba(56, 189, 248, 0.1);
}

/* --- Highlight cards (about page) --- */
.highlight-card {
  background: rgba(26, 31, 46, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: #e8edf5 !important;
}

/* --- Client cards --- */
.client-logo-card {
  background: rgba(26, 31, 46, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.client-logo-card:hover {
  background: rgba(30, 36, 55, 0.9) !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
}
.client-name { color: #e8edf5 !important; }
.client-group-title { color: #e8edf5 !important; border-bottom-color: rgba(255,255,255,0.06) !important; }

/* --- Tech table --- */
.tech-table { border-color: rgba(255, 255, 255, 0.06) !important; }
.tech-table th {
  background: rgba(56, 189, 248, 0.08) !important;
  color: var(--c-primary) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
.tech-table td { border-bottom-color: rgba(255, 255, 255, 0.04) !important; color: #e8edf5 !important; }
.tech-table tr:hover td { background: rgba(56, 189, 248, 0.04) !important; }

/* --- Product sidebar menu --- */
.product-menu {
  background: rgba(22, 27, 42, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.product-menu-item {
  color: rgba(232, 237, 245, 0.7) !important;
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}
.product-menu-item:hover { background: rgba(56, 189, 248, 0.06) !important; color: var(--c-primary) !important; }
.product-menu-item.active { background: var(--c-primary) !important; color: #fff !important; }
.product-detail-card {
  background: rgba(22, 27, 42, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.product-detail-header { border-bottom-color: rgba(255, 255, 255, 0.06) !important; }

/* --- Form elements --- */
.form-card {
  background: rgba(22, 27, 42, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.form-control {
  background: rgba(15, 17, 23, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #e8edf5 !important;
}
.form-control:focus {
  border-color: var(--c-primary) !important;
  background: rgba(15, 17, 23, 0.95) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1) !important;
}
.form-control::placeholder { color: rgba(138, 154, 181, 0.5) !important; }
.form-label { color: rgba(232, 237, 245, 0.7) !important; }
.form-help { color: rgba(138, 154, 181, 0.6) !important; }
select.form-control option { background: #1a1f2e; color: #e8edf5; }

/* --- Contact sidebar --- */
.contact-info-panel {
  background: rgba(22, 27, 42, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.contact-info-item { border-bottom-color: rgba(255, 255, 255, 0.05) !important; }

/* --- Mentor / overview art cards --- */
.mentor-card {
  background: rgba(26, 31, 46, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.mentor-avatar {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary)) !important;
  color: #fff !important;
}

/* --- Branch chips --- */
.branch-chip {
  background: rgba(56, 189, 248, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.15) !important;
  color: var(--c-primary) !important;
}

/* --- Map wrapper --- */
.map-wrapper {
  border-color: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

/* --- Timeline stepper (track order) --- */
.timeline-stepper { border-left-color: rgba(255, 255, 255, 0.08) !important; }
.timeline-step { background: rgba(22, 27, 42, 0.7) !important; border-color: rgba(255, 255, 255, 0.06) !important; }
.timeline-step.active { border-color: var(--c-primary) !important; background: rgba(56, 189, 248, 0.06) !important; }
.timeline-step.completed { border-color: var(--c-accent) !important; background: rgba(52, 211, 153, 0.05) !important; }

/* --- Tracking card --- */
.track-card, .track-card h3 { color: #e8edf5 !important; }

/* --- Industry panels (home) --- */
.industry-panel {
  background: rgba(22, 27, 42, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}
.industry-panel:hover {
  background: rgba(30, 36, 55, 0.9) !important;
}

/* --- Stats/number blocks (home) --- */
.stat-block { background: rgba(26, 31, 46, 0.7) !important; border-color: rgba(255, 255, 255, 0.06) !important; }

/* --- Footer (dark) --- */
.site-footer {
  background: linear-gradient(180deg, #0a0d14 0%, #07090f 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.footer-cta-banner {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(255, 107, 53, 0.06) 100%) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}
.footer-links-list a { color: rgba(138, 154, 181, 0.75) !important; }
.footer-links-list a:hover { color: var(--c-primary) !important; }
.footer-contact-list .contact-text { color: rgba(138, 154, 181, 0.75) !important; }
.footer-contact-list a.contact-text:hover { color: var(--c-primary) !important; }
.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.05) !important;
  color: rgba(138, 154, 181, 0.5) !important;
}
.origin-tag { 
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  color: rgba(138, 154, 181, 0.6) !important;
}
.legal-links a { color: rgba(138, 154, 181, 0.5) !important; }
.legal-links a:hover { color: var(--c-primary) !important; }
.social-circle {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(138, 154, 181, 0.7) !important;
}
.social-circle:hover {
  background: rgba(56, 189, 248, 0.12) !important;
  color: var(--c-primary) !important;
}

/* --- Eyebrow labels --- */
.eyebrow { color: var(--c-primary) !important; }

/* --- Button outline for dark --- */
.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #e8edf5;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --- Scrollbar for dark mode --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f1117; }
::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(56, 189, 248, 0.45); }

/* --- Text gradient stays bright on dark --- */
.text-gradient {
  background: linear-gradient(135deg, var(--c-primary) 20%, var(--c-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Global light-theme overrides --- */
body {
  color-scheme: light;
}

.site-header,
body:not(.home-page) .site-header,
.site-header.is-scrolled {
  background-color: rgba(255,255,255,0.92);
  border-color: rgba(15,23,42,0.08);
  box-shadow: 0 10px 40px rgba(15,23,42,0.08);
}

.main-nav a {
  color: rgba(15,23,42,0.78);
}

.main-nav a:hover {
  background-color: rgba(14,165,233,0.08);
  color: var(--c-primary);
}

.main-nav a.active {
  background-color: var(--c-primary);
  color: #fff;
}

.nav-toggle {
  background: rgba(15,23,42,0.05);
  color: var(--c-text-dark);
}

.nav-backdrop {
  background-color: rgba(15,23,42,0.14);
}

.hero-pharmacy,
.page-hero,
.products-hero {
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
}

.hero-floating-card,
.hero-pharmacy-window,
.products-hero-visual,
.modern-card,
.supporting-info-card,
.highlight-card,
.shape-fluid,
.mini-product-deck-card,
.industry-panel,
.client-logo-card,
.product-menu,
.product-detail-card,
.form-card,
.contact-info-panel,
.mentor-card,
.timeline-step,
.stat-block,
.track-card {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(15,23,42,0.08) !important;
  color: var(--c-text-dark) !important;
}

.product-menu-item {
  color: var(--c-text-muted) !important;
  background: transparent !important;
}

.product-menu-item:hover {
  color: var(--c-primary) !important;
  background: rgba(14, 165, 233, 0.05) !important;
}

.product-menu-item.active {
  color: #ffffff !important;
  background: var(--c-primary) !important;
}

.hero-product-chip,
.branch-chip {
  background: rgba(255,255,255,0.9) !important;
  color: var(--c-text-dark) !important;
  border-color: rgba(14,165,233,0.15) !important;
}

.section-dark,
.section-light,
.section {
  background-color: #f4f7fa;
  color: var(--c-text-dark);
}

.section-dark .section-head h2,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-light .section-head h2,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--c-text-dark);
}

.section-dark .section-head p,
.section-dark p,
.section-light .section-head p,
.section-light p {
  color: var(--c-text-muted);
}

.section-dark .eyebrow,
.section-light .eyebrow,
.eyebrow {
  color: var(--c-primary) !important;
}

.section-dark .bar-track,
.section-light .bar-track {
  background: rgba(15,23,42,0.08) !important;
}

.section-dark .tech-table th,
.section-light .tech-table th {
  background: rgba(14,165,233,0.08) !important;
  color: var(--c-primary) !important;
}

.section-dark .tech-table td,
.section-light .tech-table td {
  color: var(--c-text-dark) !important;
}

.section-dark .form-control,
.section-light .form-control {
  background: #fff !important;
  border-color: rgba(15,23,42,0.08) !important;
  color: var(--c-text-dark) !important;
}

.section-dark .form-control:focus,
.section-light .form-control:focus {
  background: #fff !important;
  border-color: var(--c-primary) !important;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1) !important;
}

.section-dark .form-control::placeholder,
.section-light .form-control::placeholder {
  color: rgba(82,96,119,0.55) !important;
}

.section-dark .form-label,
.section-light .form-label,
.section-dark .form-help,
.section-light .form-help,
.section-dark .timeline-node,
.section-light .timeline-node,
.section-dark .footer-links-list a,
.section-light .footer-links-list a,
.section-dark .footer-contact-list .contact-text,
.section-light .footer-contact-list .contact-text,
.section-dark .footer-bottom,
.section-light .footer-bottom,
.section-dark .origin-tag,
.section-light .origin-tag,
.section-dark .legal-links a,
.section-light .legal-links a,
.section-dark .social-circle,
.section-light .social-circle,
.section-dark .brand-desc,
.section-light .brand-desc {
  color: var(--c-text-muted) !important;
}

.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%) !important;
  border-top: 1px solid rgba(15,23,42,0.08) !important;
}

.site-footer,
.site-footer p,
.site-footer span,
.site-footer li,
.site-footer .contact-text,
.site-footer .footer-bottom,
.site-footer .origin-tag,
.site-footer .legal-links a,
.site-footer .footer-links-list a,
.site-footer .brand-desc {
  color: var(--c-text-muted) !important;
}

.site-footer h5,
.site-footer .cta-banner-text h4,
.site-footer .brand-name {
  color: var(--c-text-dark) !important;
}

.site-footer .footer-links-list a:hover,
.site-footer a.contact-text:hover,
.site-footer .legal-links a:hover {
  color: var(--c-primary) !important;
}

.site-footer .footer-bottom-left,
.site-footer .footer-bottom-right {
  color: var(--c-text-muted) !important;
}

.site-footer .social-circle {
  color: var(--c-primary) !important;
}

.site-footer .social-circle:hover {
  color: #fff !important;
}

::-webkit-scrollbar-track {
  background: #eef3f8;
}

::-webkit-scrollbar-thumb {
  background: rgba(14,165,233,0.25);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(14,165,233,0.45);
}

/* ============ PRODUCT CATEGORY TABS & SUBMENUS ============ */
.product-category-tabs {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
}

.cat-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text-muted);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.cat-tab:hover {
  color: var(--c-primary);
  background: rgba(14, 165, 233, 0.05);
}

.cat-tab.active {
  color: #fff !important;
  background: var(--c-primary);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

/* Category Content Panels visibility */
.product-category-content {
  display: none;
}
.product-category-content.active {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

/* Machinery & Treatment Grid layouts */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.25rem;
}

/* Elegant glassmorphic product card */
.product-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

.product-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f8fafc;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--c-primary);
  border-radius: 50px;
  margin-bottom: 1rem;
}

.product-card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.product-card-body p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.treatment-details {
  background: rgba(14, 165, 233, 0.03);
  border-radius: 12px;
  padding: 1.2rem;
  margin-top: auto;
  border-left: 3px solid var(--c-primary);
}

.treatment-details h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text-dark);
  margin-bottom: 0.65rem;
}

.treatment-details ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.treatment-details li {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  list-style: none;
  position: relative;
  padding-left: 1rem;
}

.treatment-details li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-size: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
}

.product-card-footer {
  margin-top: auto;
  padding-top: 1rem;
}

/* Treatment Page layout alignment */
.treatment-card {
  max-width: 760px;
  margin: 0 auto;
}

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

@media (max-width: 600px) {
  .product-category-tabs {
    flex-direction: column;
    border-radius: 18px;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .cat-tab {
    padding: 0.65rem 1.25rem;
  }
}

/* --- Empty Product Detail Card Photo Space Placeholder --- */
.product-detail-photo-space {
  width: 100%;
  height: 200px;
  background: rgba(14, 165, 233, 0.03);
  border: 2px dashed rgba(14, 165, 233, 0.25);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.product-detail-photo-space:hover {
  background: rgba(14, 165, 233, 0.06);
  border-color: var(--c-primary);
}
.photo-placeholder-text {
  opacity: 0.65;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.photo-placeholder-text::before {
  content: '📷';
  font-size: 1.2rem;
}

/* ============ DROPDOWN NAVIGATION STYLES ============ */
.main-nav ul li.has-dropdown {
  position: relative;
}

.main-nav ul li.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 200px;
  background-color: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1005;
  list-style: none;
  margin: 0;
}

.main-nav .dropdown-menu li {
  width: 100%;
  display: block;
}

.main-nav .dropdown-menu a {
  display: block;
  width: 100%;
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(232, 237, 245, 0.8) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
  text-align: left;
}

.main-nav .dropdown-menu a:hover {
  color: var(--c-primary) !important;
  background-color: rgba(56, 189, 248, 0.08) !important;
  padding-left: 1.5rem;
}

.main-nav .dropdown-menu a.active {
  color: var(--c-primary) !important;
  font-weight: 700;
}

.main-nav .arrow {
  font-size: 0.7rem;
  margin-left: 0.25rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.main-nav li.has-dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* Mobile Dropdown styles */
.main-nav-mobile li.has-dropdown {
  display: flex;
  flex-direction: column;
}

.main-nav-mobile .dropdown-menu {
  display: block;
  position: static;
  background: transparent;
  box-shadow: none;
  border: none;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  list-style: none;
  transform: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.main-nav-mobile .dropdown-menu li {
  display: block;
}

.main-nav-mobile .dropdown-menu a {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-text-muted) !important;
  border-bottom: none !important;
  padding: 0.4rem 0;
  display: block;
}

.main-nav-mobile .dropdown-menu a.active {
  color: var(--c-primary) !important;
}

.main-nav-mobile .arrow {
  display: none; /* Hide arrow in mobile list since it is flat */
}



