:root { color-scheme: light only; }
/* =====================================================
   CENTROPY — PREMIUM UPGRADED STYLESHEET
   Author: Genspark Upgrade • Modern Pharma Brand System
===================================================== */

/* =========================
   RESET & ROOT VARIABLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

:root {
  /* ===== CENTROPY BRAND PALETTE (from logo) =====
   * Logo Primary Blue: #2185C5
   * All shades derived from logo color — DARK PREMIUM SCHEME
   */
  --primary: #2185C5;
  --logo-blue-dark: #0A78AB;
  /* Exact Centropy logo text blue */
  --primary-dark: #0D3454;
  /* Deep navy — darkest logo shade */
  --primary-mid: #1A5C8A;
  /* Mid-dark navy for gradients */
  --primary-light: #4DA6D8;
  /* Light accent from logo palette */
  --accent: #E8820C;
  /* Warm amber — subtle brand complement */
  --accent-2: #0F9B6E;
  /* Muted forest green — trustworthy */
  --accent-3: #D63B3B;
  /* Error / close actions */

  --text: #0A1628;
  /* Near-black text — navy-tinted */
  --text-muted: #3D5A78;
  /* Muted text — logo blue desaturated */
  --text-soft: #5A7FA0;
  /* Soft secondary text */

  --bg: #ffffff;
  --bg-soft: #F0F6FB;
  /* Very light logo-blue tint */
  --bg-mute: #E2EDF6;
  /* Muted logo-blue background */
  --border: #C8DAE9;
  /* Soft logo-blue border */

  /* Gradients — deep dark navy to primary blue */
  --grad-primary: linear-gradient(135deg, #1A5C8A 0%, #2185C5 100%);
  --grad-blue: linear-gradient(135deg, #071A2E 0%, #0D3454 100%);
  --grad-dark: linear-gradient(135deg, #0D3454 0%, #1A5C8A 100%);
  --grad-orange: linear-gradient(135deg, #C46A09 0%, #E8820C 100%);
  --grad-green: linear-gradient(135deg, #0F9B6E 0%, #12C48A 100%);
  --grad-teal: linear-gradient(135deg, #0D3454 0%, #4DA6D8 100%);
  --grad-hero: linear-gradient(135deg, #F0F6FB 0%, #E2EDF6 50%, #ffffff 100%);

  /* Dark section background (for products, strengths sections) */
  --bg-dark: #071A2E;
  --bg-dark-mid: #0D2440;

  /* Shadows — all navy-tinted for brand cohesion */
  --shadow-sm: 0 2px 10px rgba(13, 52, 84, 0.08);
  --shadow: 0 12px 40px rgba(13, 52, 84, 0.14);
  --shadow-lg: 0 25px 70px rgba(13, 52, 84, 0.22);
  --shadow-glow: 0 20px 60px rgba(33, 133, 197, 0.35);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --container: 1280px;

  /* Icon Color Tokens */
  --icon-blue-bg: rgba(33, 133, 197, 0.12);
  --icon-orange-bg: rgba(232, 130, 12, 0.12);
  --icon-green-bg: rgba(15, 155, 110, 0.12);
  --icon-teal-bg: rgba(77, 166, 216, 0.12);
}

body {
  font-family: 'Aptos', 'Inter', 'Plus Jakarta Sans', sans-serif;
  background-color: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* =========================
   PRELOADER
========================= */
.preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #071A2E 0%, #0D3454 60%, #1A5C8A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(from 0deg, #4285f4, #9b72cb, #d96570, #f4af45, #4285f4);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #fff 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #fff 0);
  animation: spin 1.2s linear infinite;
  position: relative;
}

.loader-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #4285f4, #9b72cb, #d96570, #f4af45, #4285f4);
  filter: blur(20px);
  opacity: 0.6;
  animation: spin 1.2s linear infinite;
  z-index: -1;
}

.loader-text {
  position: absolute;
  color: #fff;
  font-weight: 900;
  letter-spacing: 3px;
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: pulse 1.4s ease-in-out infinite;
}

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

@keyframes pulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* =========================
   SCROLL PROGRESS BAR
========================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-primary);
  z-index: 9999;
  transition: width 0.1s;
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.6);
}



/* =========================
   TOP BAR
========================= */
.top-bar {
  display: none;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar i {
  margin-right: 6px;
  color: var(--primary-light);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  font-size: 12px;
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.socials a:nth-child(1):hover {
  background: #0077b5;
}

/* LinkedIn */
.socials a:nth-child(2):hover {
  background: #000000;
}

/* X */
.socials a:nth-child(3):hover {
  background: #1877f2;
}

/* FB */
.socials a:nth-child(4):hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Insta */

/* =========================
   HEADER
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 80px;
  /* Strict locked min-height for absolute consistency */
  height: auto;
  display: flex;
  align-items: center;
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1.5px solid rgba(33, 133, 197, 0.12);
  box-shadow: 0 2px 20px rgba(13, 52, 84, 0.06);
}

header.scrolled {
  /* Keep background and shadow transitions, but NO height change */
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 40px rgba(13, 52, 84, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  /* Allow auto height */
  padding: 8px 32px;
  /* Perfect vertical padding */
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo anchor — no underline, no outline, clean click area */
.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  border: none;
  outline: none;
  background: none;
  flex-shrink: 0;
}

.logo-wrap:focus {
  outline: none;
}

.brand-logo {
  height: 70px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  display: block;
  padding-left: 12px;
  transition: all 0.4s ease;
}

@media (max-width: 1024px) {
  .brand-logo {
    height: 36px;
    padding-left: 8px;
  }
}

@media (max-width: 768px) {
  .brand-logo {
    height: 30px;
    padding-left: 4px;
  }
}

.main-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-link {
  position: relative;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  border-radius: 50px;
  transition: var(--transition);
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: auto 0 0 50%;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(33, 133, 197, 0.09);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   BUTTONS (reusable)
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--border);
  color: var(--primary-dark);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: linear-gradient(135deg, #4285f4, #9b72cb, #d96570, #f4af45);
  background-size: 200% 200%;
  animation: gradientFlow 3s ease infinite;
  color: #fff;
  border-color: transparent;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(155, 114, 203, 0.4);
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn.full {
  width: 100%;
  justify-content: center;
}

.mt-30 {
  margin-top: 30px;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  overflow: hidden;
  background: var(--grad-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatBlob 20s ease-in-out infinite;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-light), transparent 70%);
  top: -150px;
  left: -100px;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  bottom: -200px;
  right: -150px;
  animation-delay: -7s;
  opacity: 0.3;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f97316, transparent 70%);
  top: 40%;
  right: 30%;
  animation-delay: -14s;
  opacity: 0.15;
}

@keyframes floatBlob {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -40px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(33, 133, 197, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 133, 197, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 133, 197, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero-title {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.08;
  margin: 18px 0 18px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -1.5px;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.logo-blue-text {
  color: var(--logo-blue-dark);
}

.underline-text {
  position: relative;
  display: inline-block;
}

.underline-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 14px;
  background: rgba(249, 115, 22, 0.25);
  z-index: -1;
  border-radius: 6px;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 26px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(33, 133, 197, 0.1);
  color: var(--primary);
}

.trust-item:nth-child(1) i {
  background: var(--icon-blue-bg);
  color: var(--primary);
}

.trust-item:nth-child(2) i {
  background: var(--icon-orange-bg);
  color: var(--accent);
}

.trust-item:nth-child(3) i {
  background: var(--icon-green-bg);
  color: var(--accent-2);
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
}

.visual-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.main-card {
  width: 88%;
  height: 78%;
  top: 8%;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: linear-gradient(135deg, #fff 0%, #edf6ff 100%);
  border: 1px solid rgba(33, 133, 197, 0.1);
  animation: floatY 6s ease-in-out infinite;
}

.main-card img {
  width: 100%;
  max-width: 380px;
  object-fit: contain;
  transition: all 0.4s ease-in-out;
}

.card-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  background: var(--grad-orange);
  color: #fff;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  z-index: 2;
  border: 1px solid var(--border);
}

.float-card i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  color: #fff;
  font-size: 20px;
}

.float-card div {
  display: flex;
  flex-direction: column;
}

.float-card strong {
  font-size: 18px;
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  color: var(--primary-dark);
}

.float-card span {
  font-size: 12px;
  color: var(--text-muted);
}

.card-2 {
  bottom: 60px;
  left: -10px;
  animation: floatY 6s ease-in-out infinite reverse;
}

.card-3 {
  top: 30px;
  right: -20px;
  animation: floatY 7s ease-in-out infinite;
}

.card-2 i {
  background: var(--grad-orange);
}

.card-3 i {
  background: var(--grad-green);
}

.card-2 {
  border-left: 4px solid var(--accent);
}

.card-3 {
  border-left: 4px solid var(--accent-2);
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(33, 133, 197, 0.15);
}

.ring-1 {
  width: 340px;
  height: 340px;
  animation: spin 30s linear infinite;
}

.ring-2 {
  width: 460px;
  height: 460px;
  animation: spin 45s linear infinite reverse;
}

.ring-3 {
  width: 580px;
  height: 580px;
  animation: spin 60s linear infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--text-muted);
  animation: floatY 2s ease-in-out infinite;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelMove 1.6s ease-in-out infinite;
}

@keyframes wheelMove {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

/* =========================
   MARQUEE
========================= */
.marquee {
  background: var(--grad-blue);
  color: #fff;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.marquee-track span i {
  color: var(--primary-light);
  font-size: 18px;
}

.marquee-track span:nth-child(4n+1) i {
  color: #fff;
}

.marquee-track span:nth-child(4n+2) i {
  color: var(--accent);
}

.marquee-track span:nth-child(4n+3) i {
  color: var(--accent-2);
}

.marquee-track span:nth-child(4n+4) i {
  color: var(--primary-light);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================
   SECTION SHARED
========================= */
.about-section,
.products-section,
.why-section,
.testimonial-section,
.stats-section,
.contact-section {
  padding: 35px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 14px;
}

.section-label.center {
  display: flex;
  justify-content: center;
}

.label-line {
  width: 36px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.section-title {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--primary-dark);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

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

.section-text {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-text.center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}

.section-header {
  margin-bottom: 40px;
}

/* =========================
   ABOUT
========================= */
.about-section {
  background: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-mute);
  border: 1px solid rgba(33, 133, 197, 0.18);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
}

.feature-pill i {
  color: #10b981;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  position: relative;
  background: #fff;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.about-card:nth-child(even) {
  transform: translateY(20px);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.about-card:nth-child(even):hover {
  transform: translateY(12px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.card-blue .card-icon {
  background: var(--grad-blue);
}

.card-teal .card-icon {
  background: var(--grad-teal);
}

.card-orange .card-icon {
  background: var(--grad-orange);
}

.card-green .card-icon {
  background: var(--grad-green);
}

.card-blue {
  border-top: 3px solid var(--primary);
}

.card-orange {
  border-top: 3px solid var(--accent);
}

.card-green {
  border-top: 3px solid var(--accent-2);
}

.card-teal {
  border-top: 3px solid var(--primary-light);
}

.about-card h3 {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.about-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.card-bg-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 120px;
  color: rgba(33, 133, 197, 0.05);
  z-index: 0;
}

/* =========================
   PRODUCTS (INTERACTIVE & BOLD)
========================= */
.products-section {
  background: var(--bg-soft);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(33, 133, 197, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(232, 130, 12, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.product-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.search-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-light);
  font-size: 18px;
}

.search-box input {
  width: 100%;
  padding: 18px 25px 18px 55px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--primary-dark);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.search-box input::placeholder {
  color: var(--text-soft);
  opacity: 0.8;
}

.search-box input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: scale(1.01);
}


.product-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  /* Compacted to bring products grid into view */
}

.filter-btn {
  padding: 12px 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.4s var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.filter-btn:hover {
  background: var(--bg-soft);
  color: var(--primary);
  border-color: var(--primary-light);
}

.filter-btn.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(33, 133, 197, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  perspective: 1500px;
}

.products-grid:has(> .product-card:only-child),
.products-page-body .products-grid:has(> .product-card:only-child) {
  display: flex !important;
  justify-content: center !important;
}

.products-grid:has(> .product-card:only-child) > .product-card,
.products-page-body .products-grid:has(> .product-card:only-child) > .product-card {
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 auto;
}

/* ponytail: Center 2 products (e.g. Anti-oxidants category) in 2 equal halves with equal spacing */
.products-grid:has(> .product-card:nth-child(2):last-child),
.products-page-body .products-grid:has(> .product-card:nth-child(2):last-child) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  gap: 30px !important;
  justify-content: center !important;
}

.products-grid:has(> .product-card:nth-child(2):last-child) > .product-card,
.products-page-body .products-grid:has(> .product-card:nth-child(2):last-child) > .product-card {
  width: 100% !important;
  max-width: 400px !important;
  justify-self: center !important;
}

@media (max-width: 640px) {
  .products-grid:has(> .product-card:nth-child(2):last-child),
  .products-page-body .products-grid:has(> .product-card:nth-child(2):last-child) {
    grid-template-columns: 1fr !important;
    max-width: 400px !important;
  }
}

.product-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
}

.product-card:hover {
  background: #ffffff;
  border-color: rgba(33, 133, 197, 0.2);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.product-image-wrap {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  transform: translateZ(50px);
}

.product-image-wrap img {
  max-height: 180px;
  /* Reduced to fit better */
  max-width: 900px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover img {
  transform: scale(1.1) translateY(-10px);
}

.product-card h3,
.product-subtitle,
.product-tag,
.product-view {
  opacity: 1;
  transform: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card h3 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-top: 20px;
  font-weight: 700;
}

.product-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(33, 133, 197, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
  border: 1px solid rgba(33, 133, 197, 0.2);
}

.product-view {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  margin-top: 20px;
  transition: all 0.3s ease;
  transform: translateZ(40px);
}

.product-view i {
  transition: transform 0.3s ease;
}

.product-card:hover .product-view {
  color: var(--primary-mid);
}

.product-card:hover .product-view i {
  transform: translateX(5px);
}

/* Category Glows */
.product-card[data-category="iron"] .product-tag {
  background: rgba(249, 115, 22, 0.2);
  color: var(--accent);
  border-color: rgba(249, 115, 22, 0.3);
}

.product-card[data-category="antibiotic"] .product-tag {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-2);
  border-color: rgba(16, 185, 129, 0.3);
}

.product-card[data-category="nutraceutical"] .product-tag {
  background: rgba(77, 166, 216, 0.2);
  color: var(--primary-light);
  border-color: rgba(77, 166, 216, 0.35);
}

.product-card[data-category="analgesic"] .product-tag {
  background: rgba(0, 150, 199, 0.2);
  color: #0096c7;
  border-color: rgba(0, 150, 199, 0.35);
}

/* =========================
   WHY SECTION
========================= */
.why-section {
  background: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  background: #fff;
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 10px 24px rgba(33, 133, 197, 0.3);
}

.why-card.color-1 .why-icon {
  background: var(--grad-blue);
}

.why-card.color-2 .why-icon {
  background: var(--grad-orange);
}

.why-card.color-3 .why-icon {
  background: var(--grad-green);
}

.why-card.color-4 .why-icon {
  background: var(--grad-teal);
}

.why-card.color-5 .why-icon {
  background: var(--grad-blue);
}

.why-card.color-6 .why-icon {
  background: var(--grad-orange);
}

.why-card.color-1:hover {
  border-color: var(--primary);
}

.why-card.color-2:hover {
  border-color: var(--accent);
}

.why-card.color-3:hover {
  border-color: var(--accent-2);
}

.why-card.color-4:hover {
  border-color: var(--primary-light);
}

.why-card.color-5:hover {
  border-color: var(--primary);
}

.why-card.color-6:hover {
  border-color: var(--accent);
}

.why-card h3 {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================
   STATS
========================= */
.stats-section {
  background: linear-gradient(135deg, #071A2E 0%, #0D3454 60%, #1A5C8A 100%);
  color: #fff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before,
.stats-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.stats-section::before {
  background: var(--primary-light);
  top: -150px;
  left: -100px;
}

.stats-section::after {
  background: var(--accent);
  bottom: -150px;
  right: -100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  background: linear-gradient(180deg, #ffffff, #B8D9EF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================
   TESTIMONIALS
========================= */
.testimonial-section {
  background: linear-gradient(180deg, #ffffff, #EFF6FC);
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.quote-icon {
  font-size: 38px;
  color: rgba(33, 133, 197, 0.18);
  margin-bottom: 14px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

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

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--primary-dark);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================
   CONTACT
========================= */
.contact-section {
  background: #fff;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  padding: 35px 0 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.contact-list {
  list-style: none;
  margin-top: 18px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(33, 133, 197, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.contact-list li:nth-child(1) .contact-icon {
  background: var(--icon-blue-bg);
  color: var(--primary);
}

.contact-list li:nth-child(2) .contact-icon {
  background: var(--icon-orange-bg);
  color: var(--accent);
}

.contact-list li:nth-child(3) .contact-icon {
  background: var(--icon-green-bg);
  color: var(--accent-2);
}

.contact-list li:nth-child(4) .contact-icon {
  background: var(--icon-teal-bg);
  color: var(--primary-light);
}

.contact-list strong {
  display: block;
  font-size: 14px;
  color: var(--primary-dark);
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-weight: 600;
}

.contact-list span {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.contact-list a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-list a:hover span {
  text-decoration: underline;
}

.contact-list li:nth-child(1) a:hover span {
  color: var(--primary);
}

.contact-list li:nth-child(2) a:hover span {
  color: var(--accent);
}

.contact-list li:nth-child(3) a:hover span {
  color: var(--accent-2);
}

.contact-form {
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-mute));
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 19px;
  /* Slightly smaller header */
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  /* Tighter margins */
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 4px;
  /* Reduced margin */
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 8px 12px;
  /* Sleeker, more premium input padding */
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text);
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 133, 197, 0.12);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* ---------- CV FILE UPLOADER ---------- */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: none !important;
  z-index: 10;
}

.file-upload-design {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: rgba(244, 247, 251, 0.5);
  text-align: center;
  transition: all 0.3s ease;
  pointer-events: none;
  /* Let input handle click/drag */
}

.file-upload-wrapper:hover .file-upload-design {
  border-color: var(--primary);
  background: rgba(33, 133, 197, 0.05);
}

.file-upload-input:focus-within~.file-upload-design {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 133, 197, 0.1);
}

.file-upload-design i {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.file-upload-wrapper:hover .file-upload-design i {
  transform: translateY(-2px);
}

.file-upload-text {
  font-size: 12.5px;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 3px;
}

.file-upload-text .highlight {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.file-upload-info {
  font-size: 10.5px;
  color: #888;
}

/* File Preview State */
.file-upload-preview {
  display: none;
  /* hidden by default */
  align-items: center;
  padding: 8px 12px;
  border: 1.5px solid #10b981;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.04);
  gap: 10px;
  transition: all 0.3s ease;
}

.file-upload-preview.active {
  display: flex;
}

.file-upload-preview i {
  font-size: 18px;
  color: #10b981;
}

.file-upload-preview .file-name {
  font-size: 12.5px;
  color: var(--text-dark);
  font-weight: 600;
  flex: 1;
  word-break: break-all;
}

.file-upload-preview .remove-file-btn {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 14px;
  padding: 4px;
  cursor: none !important;
  transition: all 0.2s ease;
  z-index: 20;
  /* above inputs */
}

.file-upload-preview .remove-file-btn:hover {
  transform: scale(1.15);
  color: #dc2626;
}

/* =========================
   POPUP
========================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 46, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  overflow-y: auto;
}

.popup-box {
  background: #fff;
  width: 100%;
  max-width: 860px;
  /* Increased from 780px for a more spacious layout */
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  position: relative;
  animation: popupIn 0.5s var(--ease-bounce);
}

@keyframes popupIn {
  from {
    transform: scale(0.7) translateY(40px);
    opacity: 0;
  }

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

.close-btn {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 18px;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.close-btn:hover {
  background: var(--accent-3);
  color: #fff;
  transform: rotate(90deg);
}

.popup-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
}

.popup-image-side {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-mid) 100%);
  padding: 50px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.popup-image-side img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.popup-content-side {
  padding: 40px 36px;
}

.popup-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(33, 133, 197, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.popup-content-side h2 {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 34px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.popup-subtitle {
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.popup-content-side>p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.popup-features {
  list-style: none;
  margin-bottom: 22px;
}

.popup-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.popup-features i {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.popup-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Premium product details stacked lists in popup */
.popup-spec-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.spec-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(33, 133, 197, 0.03);
  padding: 12px 16px;
  border-left: 3.5px solid var(--primary);
  border-radius: 0 10px 10px 0;
  transition: background 0.2s ease;
}

.spec-group:hover {
  background: rgba(33, 133, 197, 0.06);
}

.spec-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
}

.spec-value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================
   FOOTER
========================= */
footer {
  background: linear-gradient(135deg, #040F1C 0%, #071A2E 50%, #0D2440 100%);
  color: #B8CCE0;
  padding: 25px 0 0;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(33, 133, 197, 0.12), transparent 70%);
  border-radius: 50%;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto auto auto 1fr 240px;
  gap: 50px;
  justify-content: start;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
  align-items: start;
}

.footer-map-col {
  display: block;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  justify-self: end;
  height: 162px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.85;
  transition: opacity 0.3s;
}

.footer-map-col iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 210px;
  border: 0;
  pointer-events: none;
}

.footer-map-col:hover {
  opacity: 1 !important;
}

.footer-links-side {
  display: contents;
}

.footer-brand-row {
  display: contents; /* participates in grid as if the children are direct grid children */
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: center;
  margin-left: 20px;
}

.footer-brand-side h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
}

.footer-address {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer-address i {
  margin-right: 8px;
  color: var(--primary-light);
  width: 16px;
  text-align: center;
}

.footer-address a {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  padding: 0 0 10px 0;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  margin-left: -24px;
}

.footer-address a i {
  flex-shrink: 0;
  margin-top: 5px;
}

.footer-address a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: block;
  object-fit: contain;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.6;
  padding: 0 0 10px 0;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
}

.footer-col a {
  display: block;
  font-size: 13px;
  padding: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

/* Reset link styles when inside a heading — prevents the block+padding from inflating h4 height */
.footer-col h4 a {
  display: inline;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.footer-col h4 a:hover {
  color: var(--primary-light);
  transform: none;
}

.footer-col a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.newsletter {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 6px;
}

.newsletter input {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter button {
  padding: 0 22px;
  border: none;
  background: var(--grad-primary);
  color: #fff;
  font-size: 15px;
  transition: var(--transition);
}

.newsletter button:hover {
  background: var(--primary-light);
}

.nl-success {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  font-size: 13px;
  color: #10b981;
  opacity: 0;
  transition: var(--transition);
}

.nl-success.show {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  /* Compact padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

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

/* =========================
   BACK TO TOP
========================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 56px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  font-size: 16px;
  box-shadow: 0 6px 24px rgba(13, 52, 84, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 998;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}



.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(13, 52, 84, 0.5);
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:1100px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
  }

  .hero-visual {
    width: 100%;
    height: 420px;
    max-width: 480px;
  }

  .hero-desc {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .hero-content {
    text-align: left;
  }

  .hero-buttons,
  .hero-trust {
    justify-content: flex-start;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }

  .testimonial-track {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  body.contact-page-body .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.contact-page-body .contact-form {
    order: 1 !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }

  body.contact-page-body .contact-info {
    order: 2 !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
  }

  .footer-links-side {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
  }

  .footer-map-col {
    grid-column: span 2;
    max-width: 100%;
    margin-top: 10px;
  }

  .top-bar-right span:nth-child(1) {
    display: none;
  }
}

@media(max-width:900px) {
  .top-bar {
    padding: 8px 0;
    font-size: 12px;
  }

  .top-bar-left span:nth-child(2) {
    display: none;
  }

  header {
    top: 0;
  }

  .main-nav {
    position: fixed;
    top: 100px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 100px);
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 30px 24px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    align-items: stretch;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-link {
    padding: 14px 20px;
    border-radius: 14px;
  }

  .menu-toggle {
    display: flex;
  }

  .cta-btn {
    display: inline-flex !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    border-radius: 50px !important;
  }

  .about-page-body .about-section,
  .products-page-body .hero,
  .careers-page-body .hero,
  body.contact-page-body .contact-section {
    padding-top: 130px !important;
  }

  .hero {
    padding-top: 160px;
  }

  .about-section,
  .products-section,
  .why-section,
  .testimonial-section,
  .contact-section {
    padding: 50px 0;
  }

  .stats-section {
    padding: 40px 0;
  }

  .stat-num {
    font-size: 46px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-card:nth-child(even) {
    transform: none;
  }

  .about-card:nth-child(even):hover {
    transform: translateY(-10px);
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    max-width: 100%;
    margin: 0 auto;
    gap: 24px;
  }

  .hero-visual {
    width: 100%;
    height: 360px;
    max-width: 380px;
  }

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

  .popup-inner {
    grid-template-columns: 1fr;
  }

  .popup-image-side {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 30px;
  }

  .popup-image-side img {
    max-height: 200px;
  }

  .popup-content-side {
    padding: 30px 26px;
  }

  .popup-content-side h2 {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .footer-links-side {
    grid-template-columns: auto auto auto;
    gap: 40px;
  }

  .footer-brand-side {
    margin-left: 0 !important;
    justify-self: start !important;
  }

  .footer-map-col {
    grid-column: span 1;
    max-width: 100%;
    margin-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media(max-width:520px) {
  .footer-links-side {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 16px !important;
  }

  .footer-links-side .footer-col:nth-child(3) {
    grid-column: span 2 !important;
  }

  .container {
    padding: 0 20px;
  }

  .top-bar {
    display: none;
  }

  header {
    top: 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-visual {
    width: 100%;
    height: 280px;
    max-width: 300px;
  }

  .product-filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .scroll-indicator {
    display: none;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* =========================
   CIPLA INSPIRED STYLES
========================= */
.hero-cipla {
  position: relative;
  height: 100vh;
  min-height: 380px;
  /* Reduced min-height to ensure single-screen fit */
  background: url('pharma_lab_v2.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 80px;
  transition: background-image 1.2s ease-in-out;
}

@media (min-width: 769px) {
  .hero-cipla {
    height: calc(100vh - 60px) !important;
    /* Perfect math-based single viewport calculation: 100vh - 60px (marquee), starting from 0 top */
    min-height: 380px !important;
    padding-top: 80px !important;
    margin-top: 0 !important;
  }
}

.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  right: 50px;
  display: none !important;
  /* Hide dots per user request */
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(33, 133, 197, 0.25);
  border: 2px solid #fff;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 10px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 40%, transparent 100%);
  z-index: 1;
}

.hero-content-cipla {
  position: relative;
  z-index: 2;
}

.hero-text-wrap {
  max-width: 900px;
  padding: 20px 0;
}

.hero-title-cipla {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 24px;
  font-weight: 800;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 2px 10px rgba(13, 52, 84, 0.1);
}

.hero-title-cipla .title-line {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .hero-title-cipla .title-line {
    white-space: normal;
  }
}

.hero-desc-cipla {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 680px;
}

@media (max-width: 768px) {
  .hero-desc-br {
    display: none;
  }
}

.hero-buttons-cipla {
  display: flex;
  gap: 20px;
}

/* Mission Section */
.mission-section {
  padding: 45px 0;
  background: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 20px;
  transition: var(--transition);
}

.text-link:hover {
  gap: 12px;
}

.mission-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.m-stat-item {
  padding: 20px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  text-align: center;
  border-bottom: 4px solid var(--primary);
}

.m-stat-num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  margin-bottom: 10px;
}

.m-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Focus Section */
.focus-section {
  background: var(--bg-mute);
  padding: 100px 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.focus-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.focus-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.focus-icon {
  width: 60px;
  height: 60px;
  background: var(--grad-primary);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.focus-card h3 {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.focus-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Presence Section */
.presence-section {
  padding: 100px 0;
  background: #fff;
}

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

.presence-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.check-list {
  list-style: none;
  margin-top: 30px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary-dark);
}

.check-list i {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Responsive Cipla Styles */
@media (max-width: 1100px) {

  .mission-grid,
  .presence-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-stats {
    max-width: 500px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .hero-cipla {
    height: auto;
    padding: 120px 0 80px;
    text-align: center;
  }

  .hero-overlay {
    background: rgba(255, 255, 255, 0.85);
  }

  .hero-buttons-cipla {
    justify-content: center;
  }

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

  .m-stat-item {
    padding: 20px;
  }
}



/* =====================================================
   WHY CHOOSE US — CARD SPLIT DESIGN  (Cipla-style)
   Fits exactly one viewport height
===================================================== */
.strengths-showcase {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  position: relative;
  box-sizing: border-box;
}

/* ── Section Heading ── */
.strength-section-top {
  text-align: center;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.strength-top-title {
  font-family: 'Plus Jakarta Sans', 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -1.2px;
  text-transform: none;
  margin: 6px 0 0;
  line-height: 1.1;
}

/* Highlighted word in heading */
.strength-title-highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Small label above heading */
.strength-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.strength-section-label::before,
.strength-section-label::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

/* Subtitle under main heading */
.strength-top-sub {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.5;
}

/* The container inside the section must also flex */
.strengths-showcase>.container {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 80px;
  /* breathing room below header */
  padding-bottom: 32px;
  flex: 1;
}

/* ══════════════════════════════════════════
   TWO-CARD LAYOUT
   Right card = tall (480px) background photo
   Left card  = shorter, floats at centre-left
   of the right card (overlapping ~18px)
══════════════════════════════════════════ */
.strength-layout {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ── LEFT COLUMN: Nav Card Column ── */
.strength-nav-col {
  /* Desktop layout handled via @media (min-width: 992px) below */
  position: relative;
  width: 300px;
  z-index: 10;
}

/* Core Strengths section label upscale */
.strength-nav-col .section-label {
  font-size: 20px !important;
  /* Upscaled a bit more for high visibility */
  margin-bottom: 20px !important;
  padding-left: 0px !important;
  /* Aligned fully to the left edge of the column */
  margin-left: -5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.strength-nav-col .section-label .label-line {
  width: 48px !important;
  /* Slightly wider accent line */
  height: 3px !important;
  background: var(--grad-primary) !important;
}

.strength-nav-col .section-label span:not(.label-line) {
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 3px !important;
  color: var(--primary) !important;
}

/* ── LEFT: Dark Navy Nav Card ── */
.strength-nav-card {
  background: #2362aa;
  border-radius: 20px;
  width: 100%;
  height: 390px;
  box-shadow: none;
  overflow: visible;
  /* Allow the active item arrow pointer to project out */
  display: flex;
  flex-direction: column;
}

/* Hide label since it's removed from inside the card */
.strength-nav-label {
  display: none;
}

/* Nav list items */
.strength-nav-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.strength-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  height: 65px;
  min-height: 65px;
  background: #2362aa;
  color: #ffffff;
  border: none;
  outline: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0 !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.strength-item:first-child {
  border-top: none;
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.strength-item:last-child {
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
}

.strength-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
}

/* Active row: white card */
.strength-item.active {
  background: #ffffff !important;
  color: #1559a7 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-top-color: transparent;
}

/* Hide separator line directly below the active item */
.strength-item.active+.strength-item {
  border-top-color: transparent;
}

.strength-item::before {
  display: none !important;
}

.strength-item-icon {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.25s ease;
  color: inherit;
}

.strength-item.active .strength-item-icon {
  border-color: var(--primary);
  background-color: rgba(33, 133, 197, 0.08);
  color: var(--primary);
}

.strength-item-num {
  display: none;
}

.strength-item-content {
  display: flex;
  align-items: center;
  flex: 1;
}

.strength-item-content span {
  font-size: 14.5px;
  font-weight: 600;
  color: inherit;
  letter-spacing: 0.1px;
}

/* Hide old arrow icon */
.strength-item .strength-item-arrow {
  display: none !important;
}

/* Premium Rotated Notch Arrow pointing right towards display card (matching Cipla style) */
.strength-item.active::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 3px;
  z-index: 10;
  display: none; /* shown via media query depending on layout */
}

/* ── RIGHT: Tall Image + Content Display Card ── */
.strength-display-card {
  border-radius: 32px;
  overflow: hidden;
  background: var(--primary-dark);
  box-shadow: 0 24px 64px rgba(13, 52, 84, 0.22);
  position: relative;
  min-height: 420px;
}

/* Background photo layer */
.strength-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: opacity 0.4s ease;
}

/* Dark overlay — lighter/more transparent gradient for much better image visibility */
.strength-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      rgba(13, 52, 84, 0.82) 0%,
      rgba(13, 52, 84, 0.45) 55%,
      rgba(13, 52, 84, 0.08) 100%);
  z-index: 1;
}

/* Inner content — positioned absolutely on desktop to align outside the overlapping nav card */
.strength-display-content {
  position: absolute;
  top: 60px;
  /* Positioned at the top-left area as indicated by user screenshot */
  left: 100px;
  /* Shifted left to clear the backdrop image background details */
  width: calc(100% - 140px);
  max-width: 620px;
  /* Wider text area for better layout */
  z-index: 10;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.strength-display-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
  /* Increased to push description body text further down */
}

.strength-display-icon {
  width: 36px;
  /* Slightly larger icon for better visibility */
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
  background: transparent;
}

.strength-display-title {
  font-family: 'Plus Jakarta Sans', 'Space Grotesk', 'Inter', sans-serif;
  font-size: 46px !important;
  /* Increased font size for heading */
  font-weight: 700;
  color: #ffffff;
  margin: 0 !important;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.strength-display-desc {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 22px !important;
  /* Increased font size for description body */
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 !important;
  /* Clear bottom margins */
  max-width: 620px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

/* Premium Read More Button */
.strength-read-btn {
  width: 158px;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: #ffffff;
  color: #1559a7;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.4s ease 0.22s, transform 0.4s ease 0.22s;
  opacity: 0;
  transform: translateY(10px);
}

.strength-read-btn span {
  font-size: 25px;
  line-height: 1;
}

.strength-read-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animate in when ready */
.strength-display-card.content-ready .strength-display-title,
.strength-display-card.content-ready .strength-display-desc,
.strength-display-card.content-ready .strength-read-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ── Auto-Progress Bar (bottom of right card) ── */
.strength-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.strength-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary-light);
  transition: width 5s linear;
}

/* ── Responsive ── */
@media (max-width: 899px) {
  .strength-layout {
    display: flex !important;
    flex-direction: column-reverse !important;
    /* Make list card render above the display card on mobile */
    align-items: stretch !important;
    gap: 20px !important;
    height: auto !important;
  }

  .strength-nav-col {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    margin-right: 0 !important;
  }

  .strength-nav-card {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
  }

  .strength-display-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    height: 360px !important;
    border-radius: 16px !important;
  }

  .strength-display-content {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    padding: 36px 32px !important;
  }

  .strength-nav-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 10px !important;
  }

  .strength-nav-list .strength-display-card {
    grid-column: 1 / -1 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  .strength-item {
    height: auto !important;
    min-height: auto !important;
    border-radius: 10px !important;
    border-bottom: none !important;
    padding: 12px 14px !important;
  }

  .strength-item:not(:last-child):not(.active) {
    border-bottom: none !important;
    border-radius: 10px !important;
  }

  .strength-item.active::after {
    display: none !important;
  }
}




/* Glass & Motion Overrides */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.reveal-up {
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bg-animate {
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.floating-element {
  animation: floatY 6s ease-in-out infinite;
}

.parallax-wrapper {
  perspective: 1000px;
}

/* =====================================================
   ABOUT US REDESIGN — INTERACTIVE & AESTHETIC
===================================================== */
.about-section {
  min-height: 100vh;
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .about-section {
    height: 100vh;
    padding: 80px 0 40px;
  }
}

@media (max-width: 991px) {
  .about-section {
    min-height: auto;
    padding: 100px 0 60px;
  }
}

.about-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(33, 133, 197, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: floatY 10s ease-in-out infinite;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: floatY 8s ease-in-out reverse infinite;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  width: 100%;
}

.about-left .section-title {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 14px;
  line-height: 1.2;
}

.about-left .section-text {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.feature-pill {
  padding: 8px 18px;
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.3s ease;
  cursor: default;
}

.feature-pill:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(33, 133, 197, 0.08);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  perspective: 2000px;
}

.about-card {
  padding: 24px 28px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.about-card:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(13, 52, 84, 0.1);
  border-color: var(--primary-light);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
  transition: all 0.5s ease;
}

.about-card:hover .card-icon {
  transform: translateZ(20px) scale(1.08);
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.about-card p,
.about-card li {
  font-size: 16px;
  line-height: 1.7;
}

.card-bg-icon {
  position: absolute;
  bottom: -30px;
  right: -30px;
  font-size: 140px;
  opacity: 0.02;
  transition: all 1s ease;
  color: var(--primary);
  pointer-events: none;
}

.about-card:hover .card-bg-icon {
  transform: translateZ(40px) rotate(-15deg) scale(1.15);
  opacity: 0.06;
  color: var(--accent);
}

.mission-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.m-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(33, 133, 197, 0.03);
  border-radius: 10px;
  transition: all 0.4s ease;
}

.about-card:hover .m-item {
  background: rgba(255, 255, 255, 0.5);
  transform: translateZ(15px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.m-item i {
  font-size: 18px;
  color: var(--accent);
}

.m-item span {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

@media (max-width: 991px) {
  .about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    width: 100%;
  }

  .about-left {
    grid-column: span 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 16px;
  }

  .vm-card {
    grid-column: span 1;
  }

  .quality-section-v2 {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .about-left .section-title {
    font-size: clamp(26px, 4.5vw, 32px) !important;
    margin-bottom: 10px;
  }

  .about-left .section-text {
    font-size: 14.5px;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-left {
    grid-column: span 1;
    text-align: left;
    margin: 0 0 10px;
  }

  .about-col-vision-mission-v2 {
    grid-template-columns: 1fr !important;
    gap: 20px;
    display: grid;
    width: 100%;
  }

  .vm-card {
    grid-column: span 1;
  }

  .quality-section-v2 {
    grid-column: span 1;
    max-width: 100%;
  }
}

/* =========================
   PRODUCT POPUP STYLES
========================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 11, 26, 0.9);
  backdrop-filter: blur(15px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.popup-box {
  background: #fff;
  width: 100%;
  max-width: 900px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  animation: popupFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

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

.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-dark);
  transition: all 0.3s ease;
  z-index: 10;
}

.close-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: rotate(90deg);
}

.popup-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}

.popup-image-side {
  background: linear-gradient(135deg, #f8fbff 0%, #ebf3fc 100%);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.popup-image-side img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.12));
}

.popup-content-side {
  padding: 40px;
}

.popup-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 20px;
}

.popup-content-side h2 {
  font-size: 42px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.popup-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.popup-header-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.popup-brand-logo {
  height: 24px;
  object-fit: contain;
  opacity: 0.95;
}

.popup-packshot {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.popup-packshot:hover {
  transform: scale(1.03);
}

.popup-features {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.popup-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.popup-features li i {
  color: var(--accent-2);
}

@media (max-width: 768px) {
  .popup-overlay {
    align-items: center;
    justify-content: center;
  }

  .popup-box {
    margin: auto 0;
    max-height: 82vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .popup-inner {
    display: block;
  }

  .popup-image-side {
    padding: 30px;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .popup-content-side {
    padding: 30px 24px;
  }

  .popup-content-side h2 {
    font-size: 32px;
  }
}

/* =========================
   CAREERS PAGE STYLES
========================= */

/* Timeline/Process flow */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 30px auto 0;
  /* Compacted margin */
  padding: 10px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--bg-mute);
  transform: translateX(-50%);
  border-radius: 4px;
}

.timeline-step {
  position: relative;
  margin-bottom: 25px;
  /* Tighter timeline gap */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-step-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  /* Scaled down timeline icon */
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  color: var(--primary);
  font-size: 16px;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: var(--transition);
}

.timeline-step:hover .timeline-step-icon {
  background: var(--grad-primary);
  color: #fff;
  border-color: #fff;
  box-shadow: var(--shadow-glow);
  transform: translate(-50%, -50%) scale(1.1);
}

.timeline-step-content {
  width: 45%;
  padding: 18px 22px;
  /* Compact padding */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(33, 133, 197, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-step:hover .timeline-step-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  background: #fff;
}

.timeline-step-content h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-step-content p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.timeline-step-number {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

/* Centered Timeline Step (Step 05) on Desktop */
@media (min-width: 769px) {
  .process-timeline::before {
    bottom: 80px !important;
  }

  .timeline-step.step-middle {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  .timeline-step.step-middle .timeline-step-icon {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin-bottom: 15px !important;
    z-index: 3 !important;
  }

  .timeline-step.step-middle .timeline-step-content {
    width: 100% !important;
    max-width: 520px !important;
    text-align: center !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
    background: #ffffff !important;
  }

  .timeline-step.step-middle .timeline-step-content h3 {
    justify-content: center !important;
  }

  .timeline-step.step-middle:hover .timeline-step-icon {
    transform: scale(1.1) !important;
  }
}

/* Openings Section */
.openings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.job-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(33, 133, 197, 0.2);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.job-tag {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-soft);
  color: var(--primary);
}

.job-tag.urgent {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-3);
}

.job-tag.future {
  background: rgba(232, 130, 12, 0.12);
  color: var(--accent);
}

.job-tag.hiring {
  background: rgba(15, 155, 110, 0.12);
  color: var(--accent-2);
}

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

.job-meta {
  display: flex;
  gap: 15px;
  color: var(--text-soft);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 26px;
  line-height: 1.6;
}

.job-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  transition: var(--transition);
}

.job-card:hover .job-btn {
  color: var(--accent);
  transform: translateX(5px);
}

/* Job Card Details Inside Careers */
.job-details-block {
  margin-top: 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px dashed var(--border);
  padding-top: 18px;
}

.details-section strong {
  font-size: 13.5px;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.details-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.details-section ul li {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
  position: relative;
  padding-left: 14px;
}

.details-section ul li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsiveness for timeline */
@media (max-width: 768px) {
  .process-timeline::before {
    left: 30px;
  }

  .timeline-step {
    flex-direction: row !important;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .timeline-step-icon {
    left: 30px;
    transform: translate(-50%, 0);
  }

  .timeline-step:hover .timeline-step-icon {
    transform: translate(-50%, 0) scale(1.1);
  }

  .timeline-step-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
}

/* =========================
   CUSTOM CURSOR
========================= */
#cursor-dot,
#cursor-ring {
  display: none !important;
}

body.has-custom-cursor,
body.has-custom-cursor *,
body.has-custom-cursor *::before,
body.has-custom-cursor *::after {
  cursor: none !important;
}

body.has-custom-cursor #cursor-dot {
  display: block !important;
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--primary, #2185C5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
  will-change: transform;
}

body.has-custom-cursor #cursor-ring {
  display: block !important;
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 2px solid rgba(33, 133, 197, 0.55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  transition: width 0.12s cubic-bezier(0.25, 0.8, 0.25, 1),
              height 0.12s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.15s,
              background 0.15s,
              opacity 0.2s;
  will-change: transform;
}

/* Hover over clickables: dot turns white, ring expands white */
body.has-custom-cursor.cursor-hover #cursor-dot {
  width: 12px; height: 12px;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(33, 133, 197, 0.5);
}
body.has-custom-cursor.cursor-hover #cursor-ring {
  width: 50px; height: 50px;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

/* Click: both shrink */
body.has-custom-cursor.cursor-clicking #cursor-dot {
  width: 6px; height: 6px;
}
body.has-custom-cursor.cursor-clicking #cursor-ring {
  width: 24px; height: 24px;
  border-color: rgba(33, 133, 197, 0.8);
}

/* Hidden when mouse leaves window */
body.has-custom-cursor #cursor-dot.hidden,
body.has-custom-cursor #cursor-ring.hidden {
  opacity: 0;
}
@media (hover: none) {
  *, *::before, *::after { cursor: auto !important; }
  a, button, [role="button"], select, input[type="submit"], input[type="button"] {
    cursor: pointer !important;
  }
  #cursor-dot, #cursor-ring { display: none !important; }
}



/* ==========================================================================
   CENTROPY PREMIUM RESPONSIVE OVERRIDES & THE PROMISE BANNER REDESIGN
   ========================================================================== */

/* 1. Promise Banner Styles & Fluid Typography */
.promise-banner {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  /* Compact vertical padding — inner card provides visual breathing room */
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.promise-banner-inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(240, 246, 251, 0.85) 100%), url('promise_trust.png') no-repeat center 40%/cover;
  border-radius: 32px;
  padding: 48px 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(13, 52, 84, 0.04);
}

.promise-icon {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.2));
  animation: pulseIcon 4s ease-in-out infinite;
}

@keyframes pulseIcon {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.2));
  }

  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(249, 115, 22, 0.4));
  }
}

.promise-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--primary-dark);
  /* Changed to brand dark blue for readability on white */
  margin-bottom: 18px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.promise-text {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-muted);
  /* Changed to brand muted text for readability on white */
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 28px;
}

.promise-tag-wrap {
  display: flex;
  justify-content: center;
}

.promise-tag {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0.02) 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 2. Careers Page Section Spacers */
.process-section,
.positions-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .strength-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    height: auto !important;
    min-height: 420px !important;
  }

  .strength-nav-col {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 260px !important;
    flex-shrink: 0 !important;
    margin-right: -25px !important; /* overlap into photo card */
    margin-left: 0 !important;
    z-index: 10 !important;
    align-self: center !important; /* center nav col vertically */
  }

  .strength-nav-col .section-label {
    max-width: 235px !important;
    margin-bottom: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .strength-nav-col .section-label span:not(.label-line) {
    font-size: 13px !important;
    letter-spacing: 2px !important;
  }

  .strength-item {
    height: auto !important;
    min-height: 48px !important;
    padding: 8px 16px !important;
  }

  .strength-item-content span {
    font-size: 13px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  .strength-item-icon {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  .strength-nav-card {
    height: auto !important;
    border-radius: 20px !important;
  }

  .strength-display-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto !important;
    flex: 1 !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 420px !important;
    border-radius: 24px !important;
  }

  .strength-display-content {
    position: absolute !important;
    top: 50px !important;
    left: 50px !important;
    width: calc(100% - 100px) !important;
    max-width: none !important;
  }

  .strength-item.active::after {
    display: block !important;
    right: -9px !important;
    left: auto !important;
    box-shadow: 2px -2px 6px rgba(0, 0, 0, 0.08) !important;
  }
}

@media (max-width: 899px) {
  .strengths-showcase {
    min-height: auto !important;
    padding: 60px 0 50px !important;
  }

  .strength-layout {
    display: flex !important;
    flex-direction: column-reverse !important;
    /* Make list card render above the display card on tablet/mobile */
    gap: 20px !important;
    align-items: stretch !important;
  }

  .strength-nav-col {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    margin-right: 0 !important;
  }

  .strength-nav-card {
    width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
  }

  .strength-nav-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 12px 12px 14px !important;
  }

  .strength-nav-list .strength-display-card {
    grid-column: 1 / -1 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  .strength-display-card {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-height: 320px !important;
    height: auto !important;
    box-shadow: 0 10px 30px rgba(13, 52, 84, 0.12) !important;
  }

  .strength-display-content {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    padding: 40px 36px 40px 48px !important;
  }
}

@media (max-width: 576px) {
  .strength-nav-list {
    grid-template-columns: 1fr !important;
  }

  .strength-display-content {
    padding: 32px 24px !important;
  }

  .strength-display-title {
    font-size: clamp(20px, 5vw, 24px) !important;
    margin-bottom: 12px !important;
  }

  .strength-display-desc {
    font-size: 14px !important;
  }
}


@media (max-width: 768px) {

  /* Brand Logo & Header Heights */
  header {
    height: 65px !important;
  }

  .brand-logo {
    height: 55px !important;
    padding-left: 12px !important;
    margin-left: 0 !important;
  }

  /* Hero Stacking and Centering on Portrait Tablets & Mobile */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .hero-visual {
    margin: 0 auto !important;
  }

  .hero-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero-content {
    text-align: center !important;
  }

  .hero-buttons,
  .hero-trust {
    justify-content: center !important;
  }

  /* About Page Tablet Scaling */
  .about-left .section-title {
    font-size: 32px !important;
  }

  .about-left .section-text {
    font-size: 15.5px !important;
  }

  .about-card {
    padding: 14px 18px !important;
    border-radius: 14px !important;
  }

  /* Promise Banner Scaling */
  .promise-banner {
    padding: 60px 16px;
  }

  .promise-banner-inner {
    padding: 50px 30px;
    border-radius: 30px;
  }

  .promise-icon {
    font-size: 45px;
    margin-bottom: 20px;
  }

  /* Floating Hero Cards Compaction & Centering */
  .float-card {
    display: flex !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    border-radius: 16px !important;
  }

  .float-card i {
    font-size: 15px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
  }

  .float-card strong {
    font-size: 13px !important;
  }

  .float-card span {
    font-size: 9.5px !important;
  }

  .card-2 {
    left: -15px !important;
    bottom: 8% !important;
  }

  .card-3 {
    right: -15px !important;
    top: 8% !important;
  }

  /* Careers Padding Scaler */
  .process-section,
  .positions-section {
    padding: 45px 0;
  }

  .job-card {
    padding: 24px !important;
  }
}

@media (max-width: 576px) {

  /* Strengths Mobile Wrapping */
  .strength-item {
    padding: 10px 18px;
    gap: 12px;
  }

  .strength-item span {
    font-size: 14px;
  }

  .strength-item i {
    font-size: 18px;
  }

  .strength-display {
    height: 380px;
    border-radius: 24px;
  }

  .strength-info {
    padding: 24px;
  }

  .strength-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    letter-spacing: 1px;
  }

  .strength-info p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  /* Brand Logo Mobile Scaling */
  header {
    height: 55px !important;
  }

  .brand-logo {
    height: 45px !important;
    padding-left: 10px !important;
    margin-left: 0 !important;
  }

  .cta-btn {
    display: inline-flex !important;
    padding: 7px 12px !important;
    font-size: 11px !important;
    gap: 5px !important;
    border-radius: 50px !important;
  }

  .cta-btn i {
    font-size: 11px !important;
  }

  /* About Page Compact Responsiveness */
  .about-section {
    padding: 30px 0 10px !important;
  }

  .about-grid {
    gap: 20px !important;
  }

  .about-left .section-title {
    font-size: 26px !important;
  }

  .about-left .section-text {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
  }

  .about-features {
    gap: 6px !important;
  }

  .feature-pill {
    padding: 6px 12px !important;
    font-size: 10.5px !important;
  }

  .about-cards {
    gap: 10px !important;
  }

  .about-card {
    padding: 12px 16px !important;
    border-radius: 12px !important;
  }

  .about-card h3 {
    font-size: 16px !important;
  }

  .about-card p {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
  }

  .card-icon i {
    font-size: 14px !important;
  }

  .mission-items {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .m-item {
    padding: 10px 14px !important;
    border-radius: 10px !important;
  }

  .m-item i {
    font-size: 14px !important;
  }

  .m-item span {
    font-size: 12px !important;
  }

  /* Promise Banner Small Viewports */
  .promise-banner-inner {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .promise-icon {
    font-size: 38px;
  }

  .promise-text {
    margin-bottom: 25px;
  }

  /* Floating Hero Cards Mobile Inward */
  .float-card {
    padding: 8px 12px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }

  .float-card i {
    font-size: 13px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }

  .float-card strong {
    font-size: 11px !important;
  }

  .float-card span {
    font-size: 8.5px !important;
  }

  .card-2 {
    left: -10px !important;
    bottom: 6% !important;
  }

  .card-3 {
    right: -10px !important;
    top: 6% !important;
  }
}

/* 4. Custom Cursor Accessibility Support for Touch-only devices */
@media (hover: none) {

  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  a,
  button,
  [role="button"],
  input[type="submit"],
  input[type="button"],
  select,
  .strength-item,
  .job-btn,
  .nav-link,
  .menu-toggle,
  .btn {
    cursor: pointer !important;
  }
}

@media (max-width: 1024px) {

  /* Content-driven layout flow for better adjustments and vertical fit */
  .about-section,
  .contact-section {
    min-height: auto !important;
    padding: 60px 0 !important;
    display: block !important;
  }

  .about-grid,
  .contact-grid {
    align-items: flex-start !important;
  }

  /* Prevent AOS scroll-animation libraries from locking elements into an invisible opacity:0 state on small/touch screens */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .product-card {
    opacity: 1 !important;
    background: #ffffff !important;
    border-color: var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 30px 20px !important;
    transform: none !important;
  }

  .product-card h3,
  .product-subtitle,
  .product-tag,
  .product-view {
    opacity: 1 !important;
    transform: none !important;
  }

  .products-page-body .product-packshot-wrap {
    height: auto !important;
    min-height: 0 !important;
  }

  /* ponytail: cenferric mobile overrides moved to bottom of file for proper cascade */

  .product-card h3 {
    font-size: 20px !important;
    color: var(--primary-dark) !important;
    margin-top: 15px !important;
  }

  .product-tag {
    display: inline-block !important;
    color: var(--primary) !important;
    background: rgba(33, 133, 197, 0.1) !important;
    border: 1px solid rgba(33, 133, 197, 0.2) !important;
  }

  .product-card[data-category="iron"] .product-tag {
    color: var(--accent) !important;
    background: rgba(249, 115, 22, 0.15) !important;
    border-color: rgba(249, 115, 22, 0.25) !important;
  }

  .product-card[data-category="antibiotic"] .product-tag {
    color: var(--accent-2) !important;
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
  }

  .product-card[data-category="nutraceutical"] .product-tag {
    color: var(--primary-light) !important;
    background: rgba(77, 166, 216, 0.15) !important;
    border-color: rgba(77, 166, 216, 0.25) !important;
  }

  .product-card[data-category="analgesic"] .product-tag {
    color: #0096c7 !important;
    background: rgba(0, 150, 199, 0.15) !important;
    border-color: rgba(0, 150, 199, 0.25) !important;
  }

  .product-subtitle {
    color: var(--text-muted) !important;
    margin: 5px 0 15px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .product-view {
    color: var(--primary) !important;
    margin-top: 10px !important;
  }

  .product-image-wrap {
    height: 180px !important;
    margin-bottom: 20px !important;
  }

  .product-image-wrap img {
    max-height: 140px !important;
  }
}

/* =====================================================
   FORM SUCCESS OVERLAYS & ANIMATIONS
===================================================== */
.form-success {
  display: none;
}

.form-success.show {
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  width: 100% !important;
  animation: fadeIn 0.4s ease-out;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  70% {
    transform: scale(0.9);
    opacity: 0.9;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =====================================================
   CONTACT PAGE SINGLE SCREEN VIEWPORT
===================================================== */
@media (min-width: 1025px) {
  body.contact-page-body {
    height: 100vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  body.contact-page-body header {
    position: relative !important;
    background: #ffffff !important;
    border-bottom: 1.5px solid rgba(33, 133, 197, 0.12) !important;
    box-shadow: 0 2px 20px rgba(13, 52, 84, 0.06) !important;
    min-height: 80px !important;
    /* Strict locked min-height */
    height: auto !important;
  }

  body.contact-page-body .contact-section {
    flex-grow: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
  }

  body.contact-page-body footer {
    padding: 0 !important;
    background: var(--bg-dark) !important;
  }

  body.contact-page-body footer .footer-grid {
    display: none !important;
  }

  body.contact-page-body footer .footer-bottom {
    border-top: none !important;
    padding: 15px 0 !important;
  }
}

/* =====================================================
   PREMIUM CAREER CARD LAYOUT & STYLES
===================================================== */
.careers-visual {
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.premium-career-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(33, 133, 197, 0.1);
  box-shadow: 0 20px 40px rgba(13, 52, 84, 0.08);
  overflow: hidden;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.premium-career-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(13, 52, 84, 0.12);
  border-color: rgba(33, 133, 197, 0.2);
}

.pcc-media {
  position: relative;
  height: 240px;
  width: 100%;
  overflow: hidden;
}

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

.premium-career-card:hover .pcc-media img {
  transform: scale(1.05);
}

.pcc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 11, 26, 0) 40%, rgba(0, 11, 26, 0.4) 100%);
}

.pcc-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 11, 26, 0.05);
}

.pcc-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.pcc-badge span {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

.pcc-content {
  padding: 24px 30px;
}

.pcc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.pcc-stat h3 {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.pcc-stat p {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.pcc-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pcc-benefits h4 {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pcc-benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pcc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f8fbff;
  border: 1px solid rgba(33, 133, 197, 0.08);
  border-radius: 12px;
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all 0.3s ease;
}

.pcc-tag i {
  color: var(--primary);
  font-size: 13px;
}

.pcc-tag:hover {
  background: rgba(33, 133, 197, 0.05);
  border-color: rgba(33, 133, 197, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .pcc-content {
    padding: 16px 20px !important;
  }

  .pcc-stat h3 {
    font-size: 22px !important;
  }

  .pcc-stat p {
    font-size: 11px !important;
  }

  .pcc-tag {
    font-size: 11.5px !important;
    padding: 6px 12px !important;
  }
}

/* =====================================================
   HOMEPAGE ONE-SCREEN HERO & STRIP
===================================================== */
@media (min-width: 769px) {
  .marquee {
    height: 60px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* =====================================================
   PRODUCTS PAGE — MOBILE (≤768px)
   Prevent hero-carousel from overlapping the products grid
===================================================== */
@media (max-width: 768px) {

  /* Stack hero to single column and order visual first, content second */
  .products-page-body .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .products-page-body .hero {
    padding-bottom: 50px !important;
    min-height: auto !important;
    height: auto !important;
  }

  .products-page-body .hero-content {
    order: 2 !important;
  }

  /* Make 3D carousel display visible and interactive on smaller screens */
  .products-page-body .hero-visual {
    order: 1 !important;
    display: flex !important;
    height: 380px !important;
    margin: 10px auto 30px !important;
    overflow: visible !important;
  }

  /* Scale down the 3D rotating carousel to fit tablet widths */
  .products-page-body .carousel-container {
    transform: scale(0.8) !important;
    transform-origin: center center !important;
  }

  /* Products section: clean top margin and normal flow */
  .products-page-body .products-section {
    min-height: auto !important;
    height: auto !important;
    padding: 48px 0 60px !important;
    display: block !important;
    margin-top: 0 !important;
  }

  /* Single-column grid on mobile with elegant spacing for the 3D stages */
  .products-page-body .products-grid {
    grid-template-columns: 1fr !important;
    row-gap: 50px !important;
  }

  .products-page-body .product-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 20px 10px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .products-page-body .product-card:hover {
    transform: translateY(-6px) !important;
  }

  .products-page-body .product-logo-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 56px !important;
    width: 180px !important;
    margin: 0 auto 12px auto !important;
    padding: 6px 12px !important;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f8fc 60%, #e3eff7 100%) !important;
    border: 1px solid rgba(176, 206, 227, 0.5) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 16px rgba(13, 52, 84, 0.04), 0 2px 4px rgba(13, 52, 84, 0.02) !important;
    box-sizing: border-box !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .products-page-body .product-logo-img {
    height: 24px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  
  .products-page-body .product-packshot-wrap {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    position: relative !important;
    transform: scale(1) !important;
    transform-origin: bottom center !important;
  }
  
  .products-page-body .product-packshot-wrap::before,
  .products-page-body .product-packshot-wrap::after {
    display: none !important;
  }

  .products-page-body .product-packshot-wrap .product-stage-svg {
    display: block !important;
    width: 220px !important;
    height: 64px !important;
    bottom: -2px !important;
  }

  .products-page-body .product-packshot-wrap.double-box .product-stage-svg {
    width: 280px !important;
    height: 64px !important;
    bottom: -6px !important;
  }
  
  .products-page-body .product-packshot-img {
    max-height: 205px !important;
    transform: translateY(-20px) !important;
    width: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12)) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative !important;
    z-index: 3 !important;
  }

  .products-page-body .product-card:hover .product-packshot-img {
    transform: translateY(-30px) scale(1.04) !important;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.16)) !important;
  }

  /* Filter buttons: vertical list, centered on screen */
  .products-page-body .product-filters {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 290px !important;
    margin: 0 auto 28px auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .products-page-body .filter-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: rgba(13, 52, 84, 0.04) !important;
    border: 1px solid rgba(13, 52, 84, 0.05) !important;
    border-radius: 30px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
  }

  .products-page-body .filter-btn.active {
    background: #ffffff !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 15px rgba(13, 52, 84, 0.08) !important;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .products-page-body .hero-visual {
    height: 310px !important;
    margin: 10px auto 20px !important;
  }

  .products-page-body .carousel-container {
    transform: scale(0.62) !important;
    transform-origin: center center !important;
  }

  .products-page-body .products-section {
    padding: 36px 0 50px !important;
  }

  .products-page-body .product-filters {
    gap: 8px !important;
  }

  .products-page-body .filter-btn {
    padding: 10px 20px !important;
    font-size: 13px !important;
  }
}

/* =====================================================
   PRODUCTS PAGE — FLUID-RESPONSIVE SINGLE-SCREEN SYSTEM
   Aligns perfectly with home/about page structures
===================================================== */
@media (min-width: 769px) {
  .products-page-body .hero {
    min-height: 100vh !important;
    height: auto !important;
    display: grid !important;
    align-content: center !important;
    padding: 140px 0 60px !important;
    /* 80px header + 60px padding */
    margin-top: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .products-page-body .hero-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 40px !important;
    align-items: center !important;
    width: 100% !important;
  }

  .products-page-body .hero-title {
    font-size: clamp(32px, 3.5vw, 48px) !important;
    line-height: 1.2 !important;
    margin: 15px 0 !important;
  }

  .products-page-body .hero-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--text-muted) !important;
    margin-bottom: 30px !important;
  }

  .products-page-body .hero-visual {
    height: 440px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
  }

  .products-page-body .main-card {
    max-width: 380px !important;
    width: 100% !important;
    height: 280px !important;
    top: 57px !important;
    border-radius: 20px !important;
  }

  .products-page-body .main-card img {
    max-height: 180px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .products-page-body .float-card {
    padding: 10px 16px !important;
    border-radius: 14px !important;
  }

  .products-page-body .float-card i {
    width: 38px !important;
    height: 38px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
  }

  .products-page-body .float-card strong {
    font-size: 14px !important;
  }

  .products-page-body .float-card span {
    font-size: 10px !important;
  }

  /* Products grid section fills the viewport precisely */
  .products-page-body .products-section {
    min-height: calc(100vh - 100px) !important;
    height: auto !important;
    display: block !important;
    padding: 20px 0 100px 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .products-page-body .products-section .container {
    display: block !important;
    height: auto !important;
  }

  .products-page-body .products-section .product-filters {
    margin-bottom: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .products-page-body .products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
    row-gap: 120px !important;
    column-gap: 32px !important;
    justify-content: center !important;
    padding-right: 5px !important;
  }
  .products-page-body .product-card {
    padding: 30px 20px 70px 20px !important;
  }
}

/* =====================================================
   CAREERS PAGE — FLUID-RESPONSIVE SINGLE-SCREEN SYSTEM
   Eliminates visual overlap dynamically on small heights
===================================================== */
@media (min-width: 769px) {
  .careers-page-body .hero {
    min-height: 100vh !important;
    height: auto !important;
    display: grid !important;
    align-content: center !important;
    padding: 120px 0 80px !important;
    margin-top: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .careers-page-body .hero-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 40px !important;
    align-items: center !important;
    width: 100% !important;
  }

  .careers-page-body .hero-title {
    font-size: clamp(32px, 3.5vw, 48px) !important;
    line-height: 1.2 !important;
    margin: 15px 0 !important;
  }

  .careers-page-body .hero-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: var(--text-muted) !important;
    margin-bottom: 25px !important;
  }

  /* Premium career card inside hero — compact */
  .careers-page-body .premium-career-card {
    max-width: 440px !important;
    border-radius: 20px !important;
  }

  .careers-page-body .pcc-media {
    height: 160px !important;
  }

  .careers-page-body .pcc-content {
    padding: 16px 20px !important;
  }

  .careers-page-body .pcc-stat h3 {
    font-size: 24px !important;
  }

  .careers-page-body .pcc-stat p {
    font-size: 11px !important;
  }

  .careers-page-body .pcc-benefits h4 {
    font-size: 12.5px !important;
    margin-bottom: 8px !important;
  }

  .careers-page-body .pcc-tag {
    padding: 6px 12px !important;
    font-size: 11px !important;
  }

  /* Process section — tight timeline */
  .careers-page-body .process-section {
    min-height: calc(100vh - 100px) !important;
    height: auto !important;
    display: grid !important;
    align-content: center !important;
    padding: 60px 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .careers-page-body .process-section .container {
    display: block !important;
    height: auto !important;
  }

  .careers-page-body .process-section .section-header {
    margin-bottom: 20px !important;
  }

  .careers-page-body .process-timeline {
    margin-top: 15px !important;
    max-width: 800px !important;
  }

  .careers-page-body .timeline-step {
    margin-bottom: 12px !important;
  }

  .careers-page-body .timeline-step-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 14px !important;
  }

  .careers-page-body .timeline-step-content {
    padding: 12px 18px !important;
  }

  .careers-page-body .timeline-step-content h3 {
    font-size: 15.5px !important;
    margin-bottom: 3px !important;
  }

  .careers-page-body .timeline-step-content p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

  /* Positions section — tight job grid */
  .careers-page-body .positions-section {
    min-height: calc(100vh - 80px) !important;
    height: auto !important;
    display: grid !important;
    align-content: center !important;
    padding: 30px 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .careers-page-body .positions-section .container {
    display: block !important;
    height: auto !important;
  }

  .careers-page-body .positions-section .section-header {
    margin-bottom: 12px !important;
  }

  .careers-page-body .openings-grid {
    gap: 14px !important;
    margin-top: 15px !important;
  }

  .careers-page-body .job-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
  }

  .careers-page-body .job-card .job-tags {
    margin-bottom: 10px !important;
  }

  .careers-page-body .job-card .job-tag {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }

  .careers-page-body .job-card h3 {
    font-size: 15px !important;
    margin-bottom: 4px !important;
  }

  .careers-page-body .job-card .job-meta {
    margin-bottom: 10px !important;
    font-size: 12px !important;
    gap: 10px !important;
  }

  .careers-page-body .job-card .job-desc {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
  }

  .careers-page-body .job-card-actions {
    padding-top: 10px !important;
  }

  .careers-page-body .job-card .view-details-btn,
  .careers-page-body .job-card-actions .job-btn {
    font-size: 12.5px !important;
  }

  /* Apply / contact section — compact form */
  .careers-page-body .contact-section {
    min-height: calc(100vh - 100px) !important;
    height: auto !important;
    display: grid !important;
    align-content: center !important;
    padding: 60px 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .careers-page-body .contact-section .container {
    display: block !important;
    height: auto !important;
  }

  .careers-page-body .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: center !important;
  }

  .careers-page-body .contact-form {
    padding: 12px 16px !important;
    border-radius: 16px !important;
  }

  .careers-page-body .contact-form h3 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  .careers-page-body .contact-form .form-group {
    margin-bottom: 4px !important;
  }

  .careers-page-body .contact-form .form-row {
    margin-bottom: 4px !important;
    gap: 8px !important;
  }

  .careers-page-body .contact-form .btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
  }

  .careers-page-body .contact-form label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }

  .careers-page-body .contact-form input,
  .careers-page-body .contact-form select,
  .careers-page-body .contact-form textarea {
    padding: 6px 10px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
  }

  .careers-page-body .file-upload-design {
    padding: 5px !important;
    min-height: 42px !important;
  }

  .careers-page-body .file-upload-design i {
    font-size: 14px !important;
    margin-bottom: 2px !important;
  }

  .careers-page-body .file-upload-text {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }

  .careers-page-body .file-upload-info {
    font-size: 8.5px !important;
  }

  .careers-page-body .file-upload-preview {
    padding: 6px 10px !important;
  }

  .careers-page-body .file-upload-preview i {
    font-size: 16px !important;
  }

  .careers-page-body .file-upload-preview .file-name {
    font-size: 11px !important;
  }

  .careers-page-body .remove-file-btn {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
  }

  .careers-page-body .contact-list li {
    margin-bottom: 16px !important;
  }

  .careers-page-body .contact-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
  }
}

/* =====================================================
   ABOUT PAGE — FLUID-RESPONSIVE SINGLE-SCREEN SYSTEM
   Elegant, symmetric layout matching CI/CD premium look
===================================================== */
@media (min-width: 769px) {
  .about-page-body .about-section {
    min-height: calc(100vh - 90px) !important;
    height: auto !important;
    display: grid !important;
    align-content: center !important;
    padding: 8px 0 !important;
    margin-top: 90px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .about-page-body .about-grid {
    display: grid !important;
    grid-template-columns: 1.1fr 1.9fr !important;
    gap: 80px !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  .about-page-body .about-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    width: 100% !important;
  }

  .about-page-body .about-col-vision-mission-v2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }

  @media (max-width: 991px) {
    .about-page-body .about-grid {
      grid-template-columns: 1fr !important;
      gap: 35px !important;
    }

    .about-page-body .about-left {
      text-align: center !important;
      max-width: 800px !important;
      margin: 0 auto 16px !important;
    }

    .about-page-body .about-col-vision-mission-v2 {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 20px !important;
      width: 100% !important;
    }

    .about-page-body .quality-section-v2 {
      max-width: 100% !important;
      margin: 0 auto !important;
      width: 100% !important;
    }
  }

  .about-page-body .about-left {
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .about-page-body .about-left h2.section-title {
    font-size: clamp(24px, 2.8vw, 32px) !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  .about-page-body .about-left p.section-text {
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-bottom: 14px !important;
    text-align: justify !important;
  }

  /* Compact Vision, Mission & Quality cards for the About page layout */
  .about-page-body .vm-card {
    padding: 16px 20px !important;
    border-radius: 14px !important;
    gap: 10px !important;
  }

  .about-page-body .vm-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 22px !important;
    border-radius: 8px !important;
  }

  .about-page-body .vm-card-header h3 {
    font-size: 22px !important;
    letter-spacing: 0.8px !important;
  }

  .about-page-body .vm-card-text {
    font-size: 17px !important;
    line-height: 1.75 !important;
    text-align: justify !important;
  }

  .about-page-body .quality-section-v2 {
    margin-top: 5px !important;
  }

  .about-page-body .quality-header-v2 {
    margin-bottom: 12px !important;
  }

  .about-page-body .quality-header-v2 h3 {
    font-size: 20px !important;
    letter-spacing: 1px !important;
  }

  .about-page-body .values-grid-v2 {
    gap: 12px !important;
  }

  .about-page-body .value-card-v2 {
    padding: 10px 16px !important;
    border-radius: 10px !important;
    gap: 10px !important;
  }

  .about-page-body .value-card-v2 p {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  .about-page-body .val-v2-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    border-radius: 10px !important;
  }

  /* Strengths Showcase section is now clean and auto-adapted to fit one viewport */
  .about-page-body .strengths-showcase {
    min-height: calc(100vh - 80px) !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .about-page-body .strengths-showcase>.container {
    padding-top: 20px !important;
    padding-bottom: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
  }

  .about-page-body .strength-section-top {
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  /* Compact strengths card layout to fit single screener */
  .about-page-body .strength-layout {
    height: auto !important;
  }

  .about-page-body .strength-display-card {
    height: 420px !important;
    border-radius: 24px !important;
  }

  .about-page-body .strength-nav-col {
    top: 0px !important;
  }

  .about-page-body .strength-nav-col .section-label {
    font-size: 15px !important;
    margin-bottom: 10px !important;
    gap: 8px !important;
  }

  .about-page-body .strength-nav-col .section-label .label-line {
    width: 32px !important;
    height: 2px !important;
  }

  .about-page-body .strength-nav-col .section-label span:not(.label-line) {
    font-size: 17px !important;
    letter-spacing: 2px !important;
  }

  .about-page-body .strength-nav-card {
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: none !important;
  }

  .about-page-body .strength-item {
    height: 62px !important;
    min-height: 62px !important;
    padding: 0 16px !important;
  }

  .about-page-body .strength-item:first-child {
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
  }

  .about-page-body .strength-item:last-child {
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
  }

  .about-page-body .strength-item-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  .about-page-body .strength-item-content span {
    font-size: 16px !important;
  }

  .about-page-body .strength-display-content {
    top: 40px !important;
    left: 120px !important;
    width: calc(100% - 160px) !important;
    max-width: 760px !important;
  }

  .about-page-body .strength-display-header {
    margin-bottom: 74px !important;
    gap: 16px !important;
  }

  .about-page-body .strength-display-icon {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    font-size: 24px !important;
  }

  .about-page-body .strength-display-title {
    font-size: 50px !important;
    white-space: nowrap !important;
  }

  .about-page-body .strength-display-desc {
    font-size: 24px !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }

  /* Promise Banner Section — compact to fit one viewport */
  .about-page-body .promise-banner {
    min-height: calc(100vh - 80px) !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .about-page-body .promise-banner-inner {
    padding: 120px 80px !important;
    max-width: 1500px !important;
    width: 95% !important;
  }

  .about-page-body .promise-icon {
    font-size: 52px !important;
    margin-bottom: 20px !important;
  }

  .about-page-body .promise-title {
    font-size: 40px !important;
    margin-bottom: 16px !important;
  }

  .about-page-body .promise-text {
    font-size: 18px !important;
    line-height: 1.75 !important;
    margin-bottom: 24px !important;
  }

  .about-page-body .promise-tag {
    font-size: 15px !important;
    padding: 12px 32px !important;
  }
}

/* ===================== PREMIUM MISSION & VISION UPGRADE (MATCHING SLIDE DESIGN) ===================== */

.about-intro-header {
  margin-bottom: 50px;
}

.about-intro-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .about-intro-text-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.about-three-col-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 35px;
  align-items: flex-start;
  margin-top: 20px;
  width: 100%;
}

/* Column 1: About Us Intro */
.about-col-intro {
  display: flex;
  flex-direction: column;
}

.about-col-intro .section-title {
  font-size: clamp(26px, 3vw, 36px);
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-col-intro .section-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Column 2: Vision & Mission */
.about-col-vision-mission-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.vm-card {
  background: #ffffff;
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 10px 30px rgba(13, 52, 84, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 52, 84, 0.08);
}

.vm-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vm-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(33, 133, 197, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.vm-card:hover .vm-icon {
  background-color: var(--primary);
  color: #ffffff;
}

.vm-card-header h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  letter-spacing: 1.2px;
}

.vm-card-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
  text-align: justify;
}

/* Quality Section V2 */
.quality-section-v2 {
  margin-top: 10px;
  width: 100%;
}

.quality-header-v2 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  justify-content: center;
}

.quality-header-v2 .quality-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 50%, transparent);
}

.quality-header-v2 h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 1.5px;
  margin: 0;
  text-transform: uppercase;
}

/* Values Grid V2 */
.values-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

/* Value Cards V2 */
.value-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(13, 52, 84, 0.06);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(13, 52, 84, 0.02);
}

/* Different accents */
.value-card-v2.val-v2-green {
  border-left: 4px solid var(--accent-2);
  border-right: 4px solid var(--accent-2);
}

.value-card-v2.val-v2-green .val-v2-icon {
  background-color: rgba(15, 155, 110, 0.08);
  color: var(--accent-2);
}

.value-card-v2.val-v2-orange {
  border-left: 4px solid var(--accent);
  border-right: 4px solid var(--accent);
}

.value-card-v2.val-v2-orange .val-v2-icon {
  background-color: rgba(232, 130, 12, 0.08);
  color: var(--accent);
}

.value-card-v2.val-v2-blue {
  border-left: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
}

.value-card-v2.val-v2-blue .val-v2-icon {
  background-color: rgba(33, 133, 197, 0.08);
  color: var(--primary);
}

.value-card-v2.val-v2-red {
  border-left: 4px solid var(--accent-3);
  border-right: 4px solid var(--accent-3);
}

.value-card-v2.val-v2-red .val-v2-icon {
  background-color: rgba(214, 59, 59, 0.08);
  color: var(--accent-3);
}

.val-v2-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.val-v2-content {
  flex: 1;
}

.val-v2-content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.val-v2-content p strong {
  color: var(--primary-dark);
  font-weight: 700;
}

/* Hover States for Value Cards V2 */
.value-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 52, 84, 0.06);
  border-color: rgba(13, 52, 84, 0.12);
}

.value-card-v2:hover .val-v2-icon {
  transform: scale(1.1);
}

/* Color Stripe Bar at Bottom */
.color-stripe-bar {
  display: flex;
  width: 100%;
  height: 10px;
  margin-top: 40px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stripe-color {
  flex: 1;
  height: 100%;
  transition: transform 0.3s ease;
}

.stripe-color:hover {
  transform: scaleY(1.2);
}

.stripe-blue {
  background-color: #2185c5;
}

.stripe-orange {
  background-color: #e8820c;
}

.stripe-green {
  background-color: #0f9b6e;
}

.stripe-yellow {
  background-color: #ffb300;
}

.stripe-red {
  background-color: #d63b3b;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .about-three-col-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-col-intro {
    text-align: center;
  }

  .about-intro-paragraphs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
  }

  .values-grid-v2 {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .about-page-body .about-col-vision-mission-v2 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .values-grid-v2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-intro-paragraphs {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .value-card-v2 {
    padding: 16px 18px;
    gap: 12px;
  }
}

/* =====================================================
   UPGRADED PRODUCTS LAYOUT - LOGO TOP, PACKSHOT BELOW
===================================================== */
.products-page-body .product-logo-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 64px !important;
  width: 200px !important;
  margin: 0 auto 16px auto !important;
  padding: 8px 14px !important;
  background: radial-gradient(circle at center, #ffffff 0%, #f1f8fc 60%, #e3eff7 100%) !important;
  border: 1px solid rgba(176, 206, 227, 0.5) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 20px rgba(13, 52, 84, 0.04), 0 2px 6px rgba(13, 52, 84, 0.02) !important;
  box-sizing: border-box !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.products-page-body .product-card:hover .product-logo-wrap {
  background: radial-gradient(circle at center, #ffffff 0%, #f6fbfe 40%, #ebf4fa 100%) !important;
  border-color: rgba(33, 133, 197, 0.35) !important;
  box-shadow: 0 12px 28px rgba(13, 52, 84, 0.08), 0 4px 10px rgba(33, 133, 197, 0.04) !important;
  transform: translateY(-2px) !important;
}

.products-page-body .product-logo-img {
  height: 28px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.04)) !important;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.products-page-body .product-packshot-wrap {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  height: 250px !important;
  margin-bottom: 10px !important;
  width: 100% !important;
  position: relative !important;
}

/* 3D Glass Pedestal under the floating packshot */
.products-page-body .product-packshot-wrap::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg); /* Tilted to match 3D box perspective */
  width: 130px;
  height: 22px;
  background: linear-gradient(180deg, rgba(235, 243, 250, 0.95) 0%, rgba(200, 218, 237, 0.85) 40%, rgba(160, 187, 217, 0.65) 100%);
  border-top: 2.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 80px / 7px;
  box-shadow: 
    0 8px 20px rgba(9, 46, 89, 0.06), 
    0 0 10px rgba(33, 133, 197, 0.06), 
    inset 0 1px 3px rgba(255, 255, 255, 0.85);
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 3D Contact Shadow cast from the box onto the stage */
.products-page-body .product-packshot-wrap::after {
  content: "";
  position: absolute;
  bottom: 20px; /* Rest positioned on top surface of tilted cylinder */
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  width: 90px;
  height: 12px;
  background: rgba(9, 46, 89, 0.55);
  border-radius: 50%;
  filter: blur(4px);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
              opacity 0.4s ease, 
              filter 0.4s ease;
  pointer-events: none;
}

.products-page-body .product-packshot-img {
  max-height: 225px !important;
  max-width: 96% !important;
  width: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12)) !important;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  position: relative !important;
  z-index: 3 !important;
  transform: translateY(-20px) !important;
}

.products-page-body .product-card:hover .product-logo-img {
  transform: scale(1.03) !important;
}

.products-page-body .product-card:hover .product-packshot-img {
  transform: translateY(-30px) scale(1.04) !important;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.16)) !important;
}

/* Specific product overrides for Main Grid Cards */
.products-page-body .packshot-magnatrop-et .product-packshot-img {
  transform: translate(2px, -20px) !important;
}
.products-page-body .product-card:hover .packshot-magnatrop-et .product-packshot-img {
  transform: translate(2px, -30px) scale(1.04) !important;
}
/* ponytail: cenferric desktop overrides — moved to bottom of file */
.products-page-body .packshot-merolyse .product-packshot-img {
  transform: translateY(-10px) scale(0.96) !important;
}
.products-page-body .product-card:hover .packshot-merolyse .product-packshot-img {
  transform: translateY(-20px) scale(1.0) !important;
}
.products-page-body .product-card[data-product="Mertaz"] .product-packshot-img {
  transform: translateY(-15px) !important;
}
.products-page-body .product-card[data-product="Mertaz"]:hover .product-packshot-img {
  transform: translateY(-25px) scale(1.04) !important;
}
.products-page-body .product-card:hover .product-packshot-wrap::before {
  transform: translateX(-50%) rotate(-5deg) scale(1.04);
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.98) 0%, rgba(210, 227, 245, 0.9) 40%, rgba(175, 202, 230, 0.75) 100%);
  border-top-color: rgba(255, 255, 255, 1);
  box-shadow: 
    0 12px 28px rgba(9, 46, 89, 0.12), 
    0 0 14px rgba(33, 133, 197, 0.12), 
    inset 0 1px 4px rgba(255, 255, 255, 0.9);
}

.products-page-body .product-card:hover .product-packshot-wrap::after {
  transform: translateX(-50%) rotate(-5deg) scale(0.75);
  opacity: 0.3;
  filter: blur(6px);
}

/* =====================================================
   (Obsolete Side Drawer Styles Removed to Prevent Conflicting Alignments)
===================================================== */

/* =====================================================
   UPGRADED HERO Carousel - 3D CIRCULAR DISPLAY & CURVE FAN
===================================================== */
.products-page-body .carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products-page-body .carousel-container {
  width: 100%;
  height: 420px;
  position: relative;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.products-page-body .carousel-3d {
  width: 200px;
  height: 280px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.products-page-body .product-packshot-wrap .product-stage-svg {
  position: absolute;
  left: 50%;
  bottom: -10px; /* Raised so stage top surface sits right under the packaging boxes */
  transform: translateX(-50%);
  width: 270px;
  height: 82px;
  display: block;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Wider stage for double-box packaging (e.g., Cenferric) */
.products-page-body .product-packshot-wrap.double-box .product-stage-svg {
  width: 390px;
  height: 90px;
  bottom: -15px;
}



.products-page-body .product-card:hover .product-stage-svg {
  transform: translateX(-50%) scale(1.05); /* Scales stage slightly on card hover */
}

.products-page-body .carousel-card {
  position: absolute;
  width: 180px;
  height: 240px;
  left: 0;
  top: 0;
  background: transparent;
  border-radius: 20px;
  border: none;
  box-shadow: none;
  padding: 18px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  backface-visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease,
    filter 0.45s ease;
  cursor: pointer;
  user-select: none;
  z-index: 10;
}

/* Background blend for images inside carousel card */
.products-page-body .carousel-card .card-logo-wrap {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.products-page-body .carousel-card .card-logo-img {
  max-height: 28px;
  max-width: 85%;
  object-fit: contain;
}

.products-page-body .carousel-card .card-packshot-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  position: relative; /* Set to relative to contain absolute packshot-shadow */
}

.products-page-body .carousel-card .card-packshot-img {
  position: relative;
  z-index: 2; /* Renders above the shadow */
  max-height: 110px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.06)); /* subtle drop shadow for depth */
  transition: transform 0.3s ease;
}

.products-page-body .carousel-card .packshot-shadow {
  position: absolute;
  bottom: 0px; /* Aligns directly under the bottom plane of the 3D box */
  left: 50%;
  width: 115px; /* Matches the base width of the 3D product box packshots */
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 80%);
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(3.5px);
  z-index: 1;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.products-page-body .carousel-card .card-title {
  display: none !important;
}

/* Hover effects for carousel card */
.products-page-body .carousel-card:hover {
  border-color: transparent;
  box-shadow: none;
}

.products-page-body .carousel-card:hover .card-packshot-img {
  transform: translateY(-8px) scale(1.03); /* Lifts packaging box slightly */
}

.products-page-body .carousel-card:hover .packshot-shadow {
  transform: translateX(-50%) scale(0.78); /* Shrinks & fades contact shadow as box lifts */
  opacity: 0.5;
  filter: blur(4.5px);
}



/* Expanded state overrides (Curved fan layout inside Full-Screen Overlay) */
.carousel-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 26, 46, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  padding: 0;
}

.carousel-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ─── Close Button ─── */
.carousel-overlay .carousel-close-x {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.3s ease, border-color 0.25s ease;
  z-index: 100002;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: scale(0.7) rotate(-90deg);
}

.carousel-overlay.active .carousel-close-x {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: opacity 0.35s ease 0.2s,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s,
    background 0.25s ease,
    border-color 0.25s ease;
}

.carousel-overlay .carousel-close-x:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  transform: rotate(90deg) scale(1.1);
}

/* ─── Header ─── */
.carousel-overlay .overlay-header {
  text-align: center;
  margin-bottom: 0;
  /* gap is handled by nav padding-top below */
  z-index: 100000;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.5s ease 0.15s,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s;
  padding: 0 20px;
  flex-shrink: 0;
}

.carousel-overlay.active .overlay-header {
  opacity: 1;
  transform: translateY(0);
}

.carousel-overlay .overlay-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.carousel-overlay .overlay-title .gradient-text {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}


/* ─── Navigation Row (contains arrows + fan container) ─── */
.carousel-overlay .overlay-navigation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1280px;
  /*
    padding-top = arcDepth(65px) + buffer(55px) = 120px
    This creates the buffer zone between the header and the top of the arced cards.
    height = card(250px) + arc-lift(65px) + padding-top(120px) + breathing(45px) = 480px
  */
  height: 480px;
  padding: 120px 70px 0;
  /* top padding = arc clearance zone */
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: visible;
}

/* ─── Fan Container ─── */
.carousel-overlay .overlay-fan-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  /* cards anchor at bottom — arc lifts them upward */
  justify-content: center;
  overflow: visible;
  cursor: grab;
  user-select: none;
}

.carousel-overlay .overlay-fan-container:active {
  cursor: grabbing;
}

/* ─── Arrow Buttons ─── */
.carousel-overlay .nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 100001;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.carousel-overlay .nav-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.1);
}

.carousel-overlay .prev-arrow {
  left: 20px;
}

.carousel-overlay .next-arrow {
  right: 20px;
}

/* ─── Overlay Cards ─── */
.products-page-body .overlay-card {
  position: absolute;
  /* Centre horizontally: JS adds translateX on top of this centre point */
  left: 50%;
  bottom: 0;
  margin-left: -80px;
  /* half of card width (160px) */
  width: 160px;
  height: 220px;
  background: transparent;
  border-radius: 18px;
  border: none;
  box-shadow: none;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backface-visibility: hidden;
  cursor: pointer;
  /* only transform/opacity transitions since shape/shadow is inside SVG */
  transition: transform 0.45s ease, opacity 0.45s ease;
  will-change: transform, opacity;
}

/* Card inner elements */
.products-page-body .overlay-card .card-logo-wrap {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.products-page-body .overlay-card .card-logo-img {
  max-height: 25px;
  max-width: 85%;
  object-fit: contain;
}

.products-page-body .overlay-card .card-packshot-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.products-page-body .overlay-card .card-packshot-img {
  max-height: 110px;
  max-width: 92%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

.products-page-body .overlay-card:hover .card-packshot-img {
  transform: translateY(-4px) scale(1.04);
}

.products-page-body .overlay-card .card-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  line-height: 1.3;
  margin-top: 4px;
}

/* ─── Tablet ─── */
@media (max-width: 1000px) {
  .carousel-overlay .overlay-navigation {
    /* arc-depth(44px) + buffer(40px) = 84px top padding */
    height: 400px;
    padding: 84px 65px 0;
    overflow: visible;
  }

  .carousel-overlay .prev-arrow {
    left: 12px;
  }

  .carousel-overlay .next-arrow {
    right: 12px;
  }

  .products-page-body .overlay-card {
    width: 135px;
    height: 190px;
    margin-left: -68px;
    /* half of 135px ≈ 68px */
    border-radius: 14px;
    padding: 12px 10px;
  }

  .products-page-body .overlay-card .card-packshot-wrap {
    height: 100px;
  }

  .products-page-body .overlay-card .card-packshot-img {
    max-height: 90px;
  }

  .products-page-body .overlay-card .card-logo-wrap {
    height: 26px;
  }

  .products-page-body .overlay-card .card-logo-img {
    max-height: 20px;
  }
}

/* ─── Mobile ─── */
@media (max-width: 600px) {
  .carousel-overlay .overlay-header {
    margin-bottom: 14px;
  }

  .carousel-overlay .overlay-navigation {
    /* arc-depth(24px) + buffer(35px) = 59px top padding */
    height: 295px;
    padding: 59px 50px 0;
    overflow: visible;
  }

  .carousel-overlay .nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .carousel-overlay .prev-arrow {
    left: 6px;
  }

  .carousel-overlay .next-arrow {
    right: 6px;
  }

  .products-page-body .overlay-card {
    width: 110px;
    height: 155px;
    margin-left: -55px;
    /* half of 110px */
    border-radius: 12px;
    padding: 10px 8px;
  }

  .products-page-body .overlay-card .card-packshot-wrap {
    height: 78px;
  }

  .products-page-body .overlay-card .card-packshot-img {
    max-height: 70px;
  }

  .products-page-body .overlay-card .card-logo-wrap {
    height: 22px;
  }

  .products-page-body .overlay-card .card-logo-img {
    max-height: 16px;
  }

  .carousel-overlay .carousel-close-x {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ─── Hint ─── */
.products-page-body .carousel-hint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.75;
  animation: pulseHint 2.2s infinite ease-in-out;
  transition: opacity 0.3s ease;
}

@keyframes pulseHint {

  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

/* ─── Grid card pulse highlight ─── */
@keyframes productCardPulse {
  0% {
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
  }

  20%,
  60% {
    box-shadow: 0 0 0 6px rgba(33, 133, 197, 0.15), var(--shadow-glow);
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.02);
  }

  100% {
    box-shadow: var(--shadow);
    border-color: rgba(33, 133, 197, 0.2);
    transform: translateY(0) scale(1);
  }
}

.products-page-body .product-card.pulse-highlight {
  animation: productCardPulse 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =====================================================
   3D CAROUSEL CURVED ORBIT TRACK & SVG LASER SWEEP GLOW
===================================================== */
.products-page-body .carousel-track-curve {
  position: absolute;
  width: 580px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -35%);
  z-index: 1; /* Behind the rotating cards */
  pointer-events: none;
}

.products-page-body .carousel-track-curve path.track-bg {
  stroke: rgba(33, 133, 197, 0.25);
  stroke-width: 6;
  stroke-linecap: round;
  fill: none;
}

.products-page-body .carousel-track-curve path.glow-path {
  stroke: url(#laserGradient);
  stroke-width: 6;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 120 600;
  animation: svgLaserSweep 3.5s linear infinite;
  filter: drop-shadow(0 0 5px var(--primary-light));
}

@keyframes svgLaserSweep {
  0% {
    stroke-dashoffset: 120;
  }
  100% {
    stroke-dashoffset: -600;
  }
}

/* =====================================================
   UPGRADED PREMIUM PRODUCTS UI & INTERACTIVE STYLES
===================================================== */

/* --- Section Header --- */
.products-page-body .products-header {
  text-align: center;
  margin-bottom: 20px !important;
  position: relative;
  z-index: 3;
}

.products-page-body .products-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(33, 133, 197, 0.08);
  border: 1px solid rgba(33, 133, 197, 0.18);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.products-page-body .products-title {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.products-page-body .products-subtitle-text {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Controls (Search & Filters tab bar) --- */
.products-page-body .product-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 55px;
  position: relative;
  z-index: 10;
}

.products-page-body .search-box {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.products-page-body .search-box i {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-light);
  font-size: 17px;
  transition: color 0.3s ease;
}

.products-page-body .search-box input {
  width: 100%;
  padding: 16px 24px 16px 54px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(33, 133, 197, 0.18);
  border-radius: 50px;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(13, 52, 84, 0.04);
}

.products-page-body .search-box input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(33, 133, 197, 0.12);
  transform: scale(1.01);
}

.products-page-body .search-box input:focus + i {
  color: var(--primary);
}

.products-page-body .product-filters {
  display: inline-flex;
  background: rgba(13, 52, 84, 0.04);
  padding: 6px;
  border-radius: 50px;
  gap: 4px;
  border: 1px solid rgba(13, 52, 84, 0.05);
}

.products-page-body .filter-btn {
  padding: 10px 24px !important;
  background: transparent !important;
  border: none !important;
  color: var(--text-muted) !important;
  border-radius: 50px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

.products-page-body .filter-btn:hover {
  color: var(--primary-dark) !important;
}

.products-page-body .filter-btn.active {
  background: #ffffff !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(13, 52, 84, 0.08) !important;
}

/* Mobile Accordion Styles */
.products-page-body .products-accordion-mobile {
  margin-top: 20px;
}

.products-page-body .mobile-accordion-item {
  border: 1px solid rgba(13, 52, 84, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(10px);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.products-page-body .mobile-accordion-item.open {
  background: #ffffff !important;
  border-color: rgba(13, 52, 84, 0.15);
  box-shadow: 0 10px 30px rgba(13, 52, 84, 0.05);
}

.products-page-body .mobile-accordion-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s ease;
  user-select: none;
}

.products-page-body .mobile-accordion-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
  letter-spacing: -0.2px;
}

.products-page-body .accordion-arrow {
  font-size: 12px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.products-page-body .mobile-accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.products-page-body .mobile-accordion-content {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 16px;
}

.products-page-body .mobile-accordion-item.open .mobile-accordion-content {
  max-height: 10000px; /* ponytail: expanded max-height to fit all products including Synervkine without clipping */
  opacity: 1;
  visibility: visible;
  padding: 10px 16px 20px 16px;
}

.products-page-body .mobile-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.products-page-body .mobile-accordion-next-bar {
  display: flex;
  justify-content: flex-end;
  border-top: 1px dashed rgba(13, 52, 84, 0.1);
  padding-top: 16px;
  margin-top: 12px;
}

.products-page-body .mobile-next-cat-btn {
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(13, 52, 84, 0.15);
}

.products-page-body .mobile-next-cat-btn:hover {
  background: var(--primary);
  box-shadow: 0 6px 16px rgba(13, 52, 84, 0.25);
  transform: translateX(3px);
}




/* --- Interactive Side Description Popup & Transparent Cards --- */
.products-page-body .products-grid {
  overflow: visible !important;
}

.products-page-body .product-card {
  padding: 30px 20px !important;
  background: transparent !important;
  border-radius: 24px !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
  overflow: visible !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 2;
}

.products-page-body .product-card.active {
  z-index: 999;
}

.products-page-body .product-card:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: translateY(-8px) !important;
}

.products-page-body .product-packshot-wrap::before,
.products-page-body .product-packshot-wrap::after {
  display: none !important;
}

/* =====================================================
   PROPER CENTERED POPUP OVERLAY & MODAL CARD (WHITE BACKGROUND)
===================================================== */
.products-page-body .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 18, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
  padding: 16px;
  overflow: hidden;
}

.products-page-body .popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Body scroll lock when popup is active */
body.popup-open {
  overflow: hidden !important;
}

.products-page-body .product-popup-card {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(13, 52, 84, 0.1);
  box-shadow: 0 30px 70px rgba(13, 52, 84, 0.2), 
              0 0 50px rgba(13, 52, 84, 0.05);
  padding: 30px 45px;
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.4s ease;
  overflow: hidden;
  /* Ensure card never exceeds viewport */
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
}

.products-page-body .popup-overlay.active .product-popup-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Category Specific Highlight Outlines on White Popup Card */
.products-page-body .product-popup-card[data-category="iron"] {
  border-top: 6px solid var(--accent); /* Burnt orange top strip */
}

.products-page-body .product-popup-card[data-category="antibiotic"] {
  border-top: 6px solid var(--accent-2); /* Emerald green top strip */
}

.products-page-body .product-popup-card[data-category="nutraceutical"] {
  border-top: 6px solid var(--primary); /* Logo blue top strip */
}

.products-page-body .product-popup-card[data-category="analgesic"] {
  border-top: 6px solid #0096c7;
}

/* Close Button */
.products-page-body .popup-close-btn {
  position: absolute;
  top: 26px;
  right: 28px;
  background: rgba(13, 52, 84, 0.05);
  border: 1px solid rgba(13, 52, 84, 0.1);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--primary-dark);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.products-page-body .popup-close-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Grid Layout */
.products-page-body .popup-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}

/* Left Visual Column — transparent wrapper; the cylinder IS the card */
.products-page-body .popup-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.products-page-body .popup-logo-container {
  height: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 20px;
}

.products-page-body .popup-logo {
  max-height: 110px;
  max-width: 90%;
  object-fit: contain;
}

.products-page-body .popup-packshot-container {
  flex: none;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.products-page-body .popup-packshot {
  max-height: 210px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(13, 52, 84, 0.18));
  transition: transform 0.5s ease;
  margin: 0 auto;
  display: block;
}

/* Specific product overrides */
.products-page-body .product-popup-card[data-product="Magnatrop ET"] .popup-packshot {
  transform: translateX(0px); /* Centered on stage */
}
.products-page-body .product-popup-card[data-product="Magnatrop ET"]:hover .popup-packshot {
  transform: translate(0px, -4px) scale(1.02);
}
.products-page-body .product-popup-card[data-product="Glutatrop"] .popup-packshot {
  max-height: 190px; /* Glutatrop is especially tall, give it extra breathing room */
}

.products-page-body .product-popup-card:hover .popup-packshot {
  transform: translateY(-4px) scale(1.02);
}

/* Right Details Column */
.products-page-body .popup-details-col {
  display: flex;
  flex-direction: column;
  text-align: left;
  height: 100%;
  padding-right: 14px;
}

.products-page-body .popup-title {
  font-family: 'Aptos', 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.popup-tm,
.card-tm {
  font-size: 0.45em;
  font-weight: 700;
  color: inherit;
  position: relative;
  top: -1.14em;
  vertical-align: baseline;
  letter-spacing: 0;
  margin-left: 2px;
}
.popup-tm.tm-up,
.card-tm.tm-up {
  top: -1.45em !important;
}

.products-page-body .popup-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px !important;
  line-height: 1.4;
  font-weight: 500;
}

.products-page-body .popup-specs-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 14px;
}

/* Premium Scrollbar for specs list */
.products-page-body .popup-specs-container::-webkit-scrollbar {
  width: 5px;
}
.products-page-body .popup-specs-container::-webkit-scrollbar-track {
  background: rgba(13, 52, 84, 0.02);
  border-radius: 10px;
}
.products-page-body .popup-specs-container::-webkit-scrollbar-thumb {
  background: rgba(13, 52, 84, 0.15);
  border-radius: 10px;
}

.products-page-body .popup-spec-card {
  padding: 10px 14px;
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.25s ease;
  border-top: 1px solid rgba(13, 52, 84, 0.02);
  border-right: 1px solid rgba(13, 52, 84, 0.02);
  border-bottom: 1px solid rgba(13, 52, 84, 0.02);
}

.products-page-body .popup-spec-card:hover {
  background: var(--bg-mute);
  transform: translateX(4px);
}

/* Category-specific border colors for spec cards */
.products-page-body .product-popup-card[data-category="iron"] .popup-spec-card {
  border-left-color: var(--accent);
}
.products-page-body .product-popup-card[data-category="antibiotic"] .popup-spec-card {
  border-left-color: var(--accent-2);
}
.products-page-body .product-popup-card[data-category="nutraceutical"] .popup-spec-card {
  border-left-color: var(--primary);
}
.products-page-body .product-popup-card[data-category="analgesic"] .popup-spec-card {
  border-left-color: #0096c7;
}

.products-page-body .popup-spec-card .spec-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text-soft);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.products-page-body .popup-spec-card .spec-header i {
  font-size: 12px;
}

/* Category-specific icon colors */
.products-page-body .product-popup-card[data-category="iron"] .spec-header i {
  color: var(--accent);
}
.products-page-body .product-popup-card[data-category="antibiotic"] .spec-header i {
  color: var(--accent-2);
}
.products-page-body .product-popup-card[data-category="nutraceutical"] .spec-header i {
  color: var(--primary);
}
.products-page-body .product-popup-card[data-category="analgesic"] .spec-header i {
  color: #0096c7;
}

.products-page-body .popup-spec-card .spec-value {
  font-size: 13px;
  line-height: 1.5;
  color: var(--primary-dark);
  font-weight: 500;
}

/* ─── Mobile Popup: Single-screen, no outer scroll ─── */
@media (max-width: 768px) {
  .products-page-body .popup-overlay {
    padding: 10px;
    align-items: center;
  }

  /* Card: capped to viewport, no outer scroll */
  .products-page-body .product-popup-card {
    padding: 14px 20px 12px;
    max-height: 96dvh;
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
  }

  /* Keep side-by-side 2-column layout */
  .products-page-body .popup-grid {
    grid-template-columns: 38% 1fr;
    gap: 10px;
    align-items: center;
  }

  /* Left: compact visual */
  .products-page-body .popup-visual-col {
    padding: 0;
  }

  .products-page-body .popup-visual-col .cylinder {
    min-height: unset !important;
    height: 330px !important;
  }

  .products-page-body .popup-visual-col .cylinder-content {
    padding: 42px 8px 12px !important;
  }

  .products-page-body .popup-logo-container {
    height: auto;
    margin-bottom: 16px;
  }

  .products-page-body .popup-logo-container img {
    max-height: 56px !important;
    margin-bottom: 0px !important;
  }

  .products-page-body .popup-packshot-container {
    height: auto;
    min-height: unset;
    flex: none;
  }

  .products-page-body .popup-packshot {
    max-height: 140px;
  }
  
  .products-page-body .product-popup-card[data-product="Glutatrop"] .popup-packshot {
    max-height: 125px;
  }

  /* Right: compact text */
  .products-page-body .popup-title {
    font-size: 17px;
    text-align: left;
    margin-bottom: 2px;
    line-height: 1.2;
  }

  .products-page-body .popup-subtitle {
    font-size: 11px;
    text-align: left;
    margin-bottom: 8px !important;
    line-height: 1.3;
  }

  /* Specs: capped so they all fit without outer card scrolling.
     96dvh card - 14px top pad - 12px bot pad - ~36px logo - ~150px image
     - ~17px title - ~14px subtitle - ~10px gaps = ~243px for specs */
  .products-page-body .popup-specs-container {
    max-height: calc(96dvh - 280px) !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    gap: 5px;
    padding-right: 4px;
  }

  /* Very compact spec cards */
  .products-page-body .popup-spec-card {
    padding: 6px 10px;
    border-radius: 0 8px 8px 0;
    gap: 1px;
  }

  .products-page-body .popup-spec-card .spec-header {
    font-size: 9.5px;
    letter-spacing: 0.7px;
    gap: 5px;
  }

  .products-page-body .popup-spec-card .spec-header i {
    font-size: 10px;
  }

  .products-page-body .popup-spec-card .spec-value {
    font-size: 11px;
    line-height: 1.4;
  }

  /* Close button: small and tucked in */
  .products-page-body .popup-close-btn {
    top: 10px;
    right: 16px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}


/* Larger Screen Adjustments for Products */
@media (min-width: 1024px) {
  .products-page-body .products-section {
    padding: 20px 0 140px 0 !important;
  }
  .products-page-body .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    row-gap: 120px !important;
    column-gap: 48px !important;
  }
  .products-page-body .product-card {
    padding: 30px 24px 45px 24px !important;
  }
  .products-page-body .product-logo-wrap {
    height: 72px !important;
    width: 220px !important;
    margin-bottom: 16px !important;
    padding: 8px 18px !important;
    border-radius: 16px !important;
  }
  .products-page-body .product-logo-img {
    height: 32px !important;
  }
  .products-page-body .product-packshot-wrap {
    height: 240px !important;
    margin-bottom: 0px !important;
  }
  .products-page-body .product-packshot-img {
    max-height: 215px !important;
    transform: translateY(-20px) !important;
  }
  .products-page-body .product-card:hover .product-packshot-img {
    transform: scale(1.08) translateY(-32px) !important;
  }
}
/* =====================================================
   CYLINDER STYLING (FOR PRODUCT CARDS & POPUPS)
===================================================== */
.cylinder {
  position: relative;
  overflow: hidden;
}

.carousel-card.cylinder {
  /* Let carousel-card handle its own dimensions and background */
  overflow: hidden;
}

.cylinder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  width: 100%;
  height: 100%;
}

.popup-visual-col .cylinder-content {
  padding: 50px 20px 40px;
}

.parts-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.part-top,
.part-center,
.part-bottom {
  transition: filter 0.35s ease, fill 0.35s ease;
}

.part-center {
  filter: drop-shadow(0 6px 14px rgba(13, 52, 84, 0.08));
}

/* Hover effects for the SVG parts inside interactive cards */
.carousel-card:hover .part-center,
.overlay-card:hover .part-center {
  filter: drop-shadow(0 14px 28px rgba(13, 52, 84, 0.16));
}

.carousel-card:hover .part-top,
.carousel-card:hover .part-bottom,
.overlay-card:hover .part-top,
.overlay-card:hover .part-bottom {
  filter: brightness(1.06);
}

/* Adjustments for existing structures inside cylinder */
.cylinder-content .product-logo-wrap,
.cylinder-content .product-packshot-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.cylinder-content .product-logo-wrap img {
  max-height: 90px;
  margin-bottom: 4px;
}

.cylinder-content .product-packshot-wrap img {
  max-height: 280px;
}

/* Specific background adjustment for dark popup layout */
.popup-visual-col .cylinder {
  width: 100%;
  max-width: 320px;
  height: 100%;
  min-height: 440px;
  margin: 0 auto;
  background: transparent;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  box-shadow: none;
}

/* Make Glutatrop logo fit cleanly in popup and carousel without overlapping */
.product-popup-card [alt="Glutatrop Logo"] {
  max-height: 100px !important;
  transform: scale(1.15) !important;
  margin-bottom: 12px !important; /* Compensate for downward scale bleeding */
  margin-top: 5px !important;     /* Compensate for upward scale bleeding */
}

.products-page-body .product-card[data-product="Glutatrop"] .product-logo-img {
  transform: scale(1.48) translateY(0) !important;
}
.products-page-body .product-card[data-product="Glutatrop"]:hover .product-logo-img {
  transform: scale(1.53) translateY(0) !important;
}

.carousel-card[data-product="Glutatrop"] .card-logo-img {
  max-height: 48px !important;
  transform: scale(1.15) !important;
}

.carousel-card[data-product="Mertaz"] .card-logo-img {
  max-height: 38px !important;
  transform: scale(1.10) !important;
}

/* Sharp Rendering Fixes */
img.product-packshot-img,
img.card-packshot-img,
img.popup-packshot-img,
img.product-logo-img,
img.card-logo-img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Disable CSS transitions on cards during dragging/scrolling to let JS requestAnimationFrame animate smoothly */
.products-page-body .overlay-fan-container.no-transitions .carousel-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Widescreen & Zoom-out Adjustments to Prevent Collapse */
@media (min-width: 1400px) {
  :root {
    --container: 1440px;
  }
  
  .products-page-body .products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    row-gap: 120px !important;
    column-gap: 48px !important;
  }

  .products-page-body .product-logo-wrap {
    height: 84px !important;
    width: 260px !important;
    margin-bottom: 20px !important;
    padding: 10px 24px !important;
    border-radius: 18px !important;
  }
  .products-page-body .product-logo-img {
    height: 38px !important;
  }

  .products-page-body .hero-visual {
    max-width: 620px !important;
  }
}

@media (min-width: 1600px) {
  :root {
    --container: 1600px;
  }
  
  .products-page-body .hero-visual {
    max-width: 680px !important;
  }

  .products-page-body .carousel-container {
    transform: scale(1.1) !important;
    transform-origin: center center !important;
  }
}

@media (min-width: 1800px) {
  :root {
    --container: 1800px;
  }
  
  .products-page-body .product-logo-wrap {
    height: 96px !important;
    width: 300px !important;
    margin-bottom: 24px !important;
    padding: 12px 28px !important;
    border-radius: 20px !important;
  }
  .products-page-body .product-logo-img {
    height: 44px !important;
  }

  .products-page-body .hero-visual {
    max-width: 740px !important;
  }

  .products-page-body .carousel-container {
    transform: scale(1.2) !important;
    transform-origin: center center !important;
  }
}

@media (min-width: 2200px) {
  :root {
    --container: 2000px;
  }
  
  .products-page-body .product-logo-wrap {
    height: 108px !important;
    width: 340px !important;
    margin-bottom: 28px !important;
    padding: 14px 32px !important;
    border-radius: 24px !important;
  }
  .products-page-body .product-logo-img {
    height: 50px !important;
  }
}

/* carousel-card inherits standard background, border, and shadow from base definition */

.products-page-body .carousel-3d .carousel-card .card-packshot-wrap {
  transform: translateY(8px);
}

/* =====================================================
   CAREERS PAGE - JOB DETAILS MODAL POPUP
===================================================== */

/* Job Card flex display to push actions to bottom */
.careers-page-body .job-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Hide job details block in the grid */
.careers-page-body .job-card .job-details-block {
  display: none;
}

/* Action button container at card bottom */
.careers-page-body .job-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px dashed var(--border);
  padding-top: 20px;
}

.careers-page-body .job-card .view-details-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-mid);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: var(--transition);
}

.careers-page-body .job-card .view-details-btn:hover {
  color: var(--accent);
}

.careers-page-body .job-card .view-details-btn i {
  transition: transform 0.25s ease;
}

.careers-page-body .job-card .view-details-btn:hover i {
  transform: translateX(3px);
}

.careers-page-body .job-card-actions .job-btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.careers-page-body .job-card-actions .job-btn:hover {
  color: var(--accent);
}

/* Job Details Popup Box Custom Styles */
.careers-page-body .job-popup-box {
  padding: 40px;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(13, 52, 84, 0.1);
  box-shadow: 0 30px 70px rgba(13, 52, 84, 0.2);
  width: 100%;
  max-width: 820px;
  box-sizing: border-box;
}

.careers-page-body .job-popup-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.careers-page-body .job-popup-header h3 {
  font-size: 26px;
  color: var(--primary-dark);
  margin: 12px 0 8px;
  font-weight: 800;
}

.careers-page-body .job-popup-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.careers-page-body .job-popup-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.careers-page-body .job-popup-meta span i {
  color: var(--primary);
}

.careers-page-body .job-popup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .careers-page-body .job-popup-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .careers-page-body .job-popup-box {
    padding: 30px 20px;
    max-height: 85vh;
    overflow-y: auto;
  }
}

.careers-page-body .job-popup-body .details-section {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(33, 133, 197, 0.08);
}

.careers-page-body .job-popup-body .details-section strong {
  font-size: 15px;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 6px;
}

.careers-page-body .job-popup-body .details-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.careers-page-body .job-popup-body .details-section ul li {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  padding-left: 18px;
}

.careers-page-body .job-popup-body .details-section ul li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: -2px;
}

.careers-page-body .job-popup-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.careers-page-body .job-popup-apply-btn {
  background: var(--grad-primary);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(33, 133, 197, 0.25);
}

.careers-page-body .job-popup-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(33, 133, 197, 0.4);
  background: var(--grad-orange);
}

.careers-page-body .job-popup-apply-btn:active {
  transform: translateY(0);
}

/* Career Application Form Title Outside the Form */
.careers-page-body .career-form-title {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-dark);
  text-align: center;
}

/* Responsive visibility utilities */
@media (min-width: 768px) {
  .products-page-body .mobile-only {
    display: none !important;
  }
  .products-page-body .desktop-only {
    display: block;
  }
  .products-page-body .products-grid.desktop-only {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
  }
  .products-page-body .product-controls.desktop-only {
    display: flex !important;
  }
}
@media (max-width: 767px) {
  .products-page-body .desktop-only {
    display: none !important;
  }
  .products-page-body .mobile-only {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .careers-page-body .career-form-title {
    font-size: 20px;
    margin-bottom: 14px;
  }
}

/* Scroll offset for sticky header on form wrapper */
.careers-page-body #apply {
  scroll-margin-top: 110px;
}

/* =====================================================
   PER-PRODUCT OVERRIDES (UNIFIED SIZING)
===================================================== */

/* Remove Mertaz background (keep unified sizing) */
.products-page-body .product-card[data-product="Mertaz"] .product-logo-img {
  mix-blend-mode: multiply !important;
  border: none !important;
  border-radius: 0 !important;
}
/* Pop-up Mertaz logo */
.products-page-body .product-popup-card[data-product="Mertaz"] .popup-logo-container img {
  mix-blend-mode: multiply !important;
  border: none !important;
}
/* =====================================================
   MOBILE RESPONSIVENESS — COMPREHENSIVE FIXES
   Covers: Header, Footer, Products, Images, General UX
===================================================== */

/* ─── Global: Prevent horizontal overflow on mobile ─── */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  /* ─── Header: compact CTA on mobile ─── */
  .header-inner {
    padding: 8px 16px;
  }

  .cta-btn {
    display: inline-flex !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    gap: 6px !important;
    border-radius: 50px !important;
  }

  .brand-logo {
    height: 48px !important;
    padding-left: 0 !important;
  }

  /* Mobile nav drawer: position from top of header (80px) */
  .main-nav {
    top: 80px !important;
    height: calc(100vh - 80px) !important;
    width: 260px !important;
    z-index: 9999;
  }

  /* ─── Footer: Stack all columns vertically ─── */
  footer {
    padding: 50px 0 30px !important;
  }

  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .footer-links-side {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 16px !important;
  }

  .footer-links-side .footer-col:nth-child(3) {
    grid-column: span 2 !important;
  }

  .footer-col {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  /* Brand + Map: side-by-side row on mobile */
  .footer-brand-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .footer-brand-side {
    margin-left: 0 !important;
    justify-self: start !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-address a {
    margin-left: 0 !important;
  }

  /* Right: map is compact beside the address */
  .footer-map-col {
    flex-shrink: 0 !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 120px !important;
    align-self: stretch !important;
    margin-top: 0 !important;
    border-radius: 10px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  /* Newsletter form full-width */
  .newsletter {
    max-width: 100% !important;
  }

  /* ─── Product filters: wrap on small screens ─── */
  .products-page-body .product-filters,
  .product-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    border-radius: 16px !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
  }

  .products-page-body .filter-btn,
  .filter-btn {
    padding: 8px 16px !important;
    font-size: 12.5px !important;
  }


  /* ─── Product cards: full width on very small screens ─── */
  .products-page-body .products-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* ─── Back to top: smaller and not overlapping content ─── */
  .back-to-top {
    bottom: 16px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
  }

  /* ─── Section titles ─── */
  .section-title {
    font-size: clamp(24px, 6vw, 32px) !important;
  }

  /* ─── Marquee: smaller font on mobile ─── */
  .marquee {
    font-size: 13px;
  }

  /* ─── Preloader: smaller on mobile ─── */
  .loader-ring {
    width: 100px;
    height: 100px;
  }

  .loader-text {
    font-size: 13px;
  }
}

/* ─── Extra small phones (< 480px) ─── */
@media (max-width: 480px) {
  .header-inner {
    padding: 8px 12px;
  }

  .brand-logo {
    height: 42px !important;
  }

  .footer-grid {
    gap: 24px !important;
  }

  /* Ensure map iframe fills compact mobile map container */
  .footer-map-col iframe {
    height: 200px !important;
  }

  /* Products page filter wrap */
  .products-page-body .product-filters {
    width: 100% !important;
    margin-bottom: 12px !important;
    display: flex !important;
  }

  .products-page-body .filter-btn {
    flex: 1;
    text-align: center;
    padding: 6px 10px !important;
    font-size: 11px !important;
  }

}

/* ─── Images: Native lazy loading via CSS hint ─── */
img {
  content-visibility: auto;
}

/* ─── Large images: use contain so they don't stretch ─── */
.hero-cipla {
  background-attachment: scroll !important; /* Fixes parallax perf on mobile */
}

/* =====================================================
   CENFERRIC DEFINITIVE OVERRIDE — must be last in file
   Prevents double-box packshot from sliding up into logo area
   on mobile (375/425px) and tablet (768px) screens.
===================================================== */

/* Desktop: slight left-shift so double-box is centered on stage */
.products-page-body .packshot-cenferric .product-packshot-img {
  transform: translate(-10px, -20px) scale(0.94) !important;
}
.products-page-body .product-card:hover .packshot-cenferric .product-packshot-img {
  transform: translate(-10px, -28px) scale(0.98) !important;
}

/* Mobile (≤767px): smaller screen layout overrides */
@media (max-width: 767px) {
  .products-page-body .product-card[data-product="CenFerric"] .product-logo-wrap {
    transform: translateY(18px) !important;
  }
  .products-page-body .packshot-cenferric {
    margin-top: 0px !important;
  }
  .products-page-body .packshot-cenferric .product-packshot-img {
    max-height: 190px !important;
    max-width: 90% !important;
    transform: translateY(-16px) !important;
  }
  .products-page-body .product-card:hover .packshot-cenferric .product-packshot-img {
    transform: translateY(-22px) scale(1.02) !important;
  }
  .products-page-body .product-card[data-product="Synervkine"] .product-logo-wrap {
    transform: translateY(22px) !important;
  }
  .products-page-body .packshot-synervkine {
    height: 160px !important;
    margin-top: -30px !important;
  }
  .products-page-body .packshot-synervkine .product-packshot-img {
    max-height: 165px !important;
    max-width: 88% !important;
    transform: translateY(-22px) !important;
  }
  .products-page-body .product-card[data-product="Pantaprodol"] .product-packshot-img {
    max-height: 205px !important;
    max-width: 95% !important;
    transform: translateY(-16px) scale(1.10) !important;
  }
}

/* ─── UNIFORM PRODUCT LOGOS CARD DESIGN ─── */
/* Set card background to match section background, remove borders, and add drop shadow as border */
.products-page-body .product-logo-wrap {
  background: var(--bg-soft) !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(13, 52, 84, 0.14) !important;
}
.products-page-body .product-card:hover .product-logo-wrap {
  background: var(--bg-soft) !important;
  border: none !important;
  box-shadow: 0 12px 32px rgba(13, 52, 84, 0.22) !important;
}
/* Make logo images completely fill 75% of the card height uniformly */
.products-page-body .product-logo-img {
  height: 75% !important;
  max-width: 90% !important;
}
/* Dynamically balance scale transitions to make all logo sizes appear uniform regardless of aspect ratio */
.products-page-body .product-card[data-product="Glutatrop"] .product-logo-img {
  transform: scale(1.48) translateY(0) !important;
}
.products-page-body .product-card[data-product="Glutatrop"]:hover .product-logo-img {
  transform: scale(1.53) translateY(0) !important;
}
.products-page-body .product-card[data-product="Magnatrop ET"] .product-logo-img {
  transform: scale(1.22) !important;
}
.products-page-body .product-card[data-product="Magnatrop ET"]:hover .product-logo-img {
  transform: scale(1.27) !important;
}
.products-page-body .product-card[data-product="Merolyse"] .product-logo-img {
  transform: scale(1.22) !important;
}
.products-page-body .product-card[data-product="Merolyse"]:hover .product-logo-img {
  transform: scale(1.27) !important;
}
.products-page-body .product-card[data-product="Mertaz"] .product-logo-img {
  transform: scale(1.25) !important;
}
.products-page-body .product-card[data-product="Mertaz"]:hover .product-logo-img {
  transform: scale(1.30) !important;
}
.products-page-body .product-card[data-product="Myticar"] .product-logo-img {
  transform: scale(0.95) !important;
}
.products-page-body .product-card[data-product="Myticar"]:hover .product-logo-img {
  transform: scale(1.0) !important;
}
.products-page-body .product-card[data-product="Synervkine"] .product-logo-img {
  transform: scale(1.15) !important;
}
.products-page-body .product-card[data-product="Synervkine"]:hover .product-logo-img {
  transform: scale(1.20) !important;
}
.products-page-body .product-card[data-product="Paramaxidol"] .product-logo-img {
  transform: scale(2.50) !important;
}
.products-page-body .product-card[data-product="Paramaxidol"]:hover .product-logo-img {
  transform: scale(2.58) !important;
}
.carousel-card[data-product="Paramaxidol"] .card-logo-img {
  transform: scale(2.20) !important;
}
.products-page-body .product-popup-card[data-product="Paramaxidol"] .popup-logo-container img {
  transform: scale(1.35) !important;
}
.products-page-body .product-card[data-product="Pantaprodol"] .product-logo-img {
  transform: scale(1.40) !important;
}
.products-page-body .product-card[data-product="Pantaprodol"]:hover .product-logo-img {
  transform: scale(1.45) !important;
}
.carousel-card[data-product="Pantaprodol"] .card-logo-img {
  transform: scale(1.30) !important;
}
.products-page-body .product-popup-card[data-product="Pantaprodol"] .popup-logo-container img {
  transform: scale(1.30) !important;
}
.products-page-body .product-card[data-product="Pantaprodol"] .product-packshot-img {
  max-height: 212px !important;
  max-width: 93% !important;
  transform: translateY(-23px) scale(1.17) !important;
}
.products-page-body .product-card[data-product="Pantaprodol"]:hover .product-packshot-img {
  transform: translateY(-31px) scale(1.23) !important;
}

/* =====================================================
   LEGAL / POLICY PAGE STYLING (COOKIES, ETC)
===================================================== */
.policy-hero-section {
  padding: 140px 0 60px 0;
  background: var(--bg-soft);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.policy-title {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.policy-meta {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.policy-content-section {
  padding: 80px 0;
  background: #ffffff;
}
.policy-card-container {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
}
.policy-intro {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 1.7;
  border-left: 4px solid var(--primary);
  padding-left: 20px;
}
.policy-block {
  margin-bottom: 48px;
}
.policy-block h2 {
  font-family: 'Aptos', 'Inter', 'DM Sans', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.policy-block h2 i {
  color: var(--primary);
  font-size: 1.5rem;
}
.cookie-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .cookie-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cookie-type-card {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(13, 52, 84, 0.02);
  transition: all 0.3s ease;
}
.cookie-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 52, 84, 0.06);
  border-color: var(--primary);
}
.cookie-type-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 600;
}
.cookie-type-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.policy-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.policy-link:hover {
  border-bottom-color: var(--primary);
}

/* Disclaimer Page Specific Styles */
.disclaimer-alert-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(214, 59, 59, 0.05);
  border-left: 4px solid var(--accent-3);
  padding: 20px;
  border-radius: 12px;
  margin-top: 24px;
}
.disclaimer-alert-card i {
  color: var(--accent-3);
  font-size: 1.5rem;
  margin-top: 2px;
}
.disclaimer-alert-card p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}

.report-box {
  background: var(--bg-soft);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin: 24px 0;
}
.report-box h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-weight: 600;
}
.report-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.report-box li {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.report-box li i {
  color: var(--accent-2);
  font-size: 0.95rem;
}

.reporting-channels-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  color: #ffffff;
  margin-top: 24px;
  box-shadow: 0 10px 30px rgba(13, 52, 84, 0.15);
}
.reporting-channels-card h4 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.pv-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: var(--primary-dark);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.pv-email-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
  background: var(--bg-soft);
}

/* Push back-to-top arrow button higher to prevent overlapping footer links (like Disclaimer) */
.back-to-top {
  bottom: 72px !important;
}







