/* ==========================================================================
   Dermaeon Technology - Master UI/UX Design System & Stylesheet (Final Polish)
   Color Identity: Science Blue (#0040A8 / #0B192C), Emerald Green (#2E9D18 / #10B981), Pure White, Slate
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Brand Primary Colors */
  --cb-blue-primary: #0040A8;
  --cb-blue-dark: #0B192C;
  --cb-blue-deep: #060D18;
  --cb-blue-light: #EBF3FF;
  --cb-blue-hover: #003388;
  
  /* Brand Green Colors */
  --cb-green-primary: #2E9D18;
  --cb-green-emerald: #10B981;
  --cb-green-glow: #00E676;
  --cb-green-light: #F0FDF4;
  --cb-green-hover: #248012;

  /* Neutral Spectrum */
  --cb-white: #FFFFFF;
  --cb-bg-light: #F8FAFC;
  --cb-bg-subtle: #F1F5F9;
  --cb-slate-100: #E2E8F0;
  --cb-slate-300: #CBD5E1;
  --cb-slate-500: #64748B;
  --cb-slate-700: #334155;
  --cb-slate-900: #0F172A;

  /* Borders, Glass & Shadows */
  --cb-border-subtle: rgba(0, 64, 168, 0.12);
  --cb-glass-bg: rgba(255, 255, 255, 0.96);
  --cb-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --cb-shadow-md: 0 8px 24px rgba(0, 64, 168, 0.08);
  --cb-shadow-lg: 0 16px 36px rgba(0, 64, 168, 0.12);
  --cb-shadow-glow: 0 0 24px rgba(16, 185, 129, 0.2);

  /* Typography System */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Layout Standards */
  --header-height: 120px;
  --container-max: 1240px;
  --section-padding-v: 4.5rem;
  
  /* Standardized Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   1. BASE RESETS & TYPOGRAPHY HIERARCHY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--cb-white);
  color: var(--cb-slate-900);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* Global Grid Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: var(--section-padding-v);
  padding-bottom: var(--section-padding-v);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Section Badges / Tags */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  background: var(--cb-blue-light);
  color: var(--cb-blue-primary);
  border: 1px solid rgba(0, 64, 168, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-tag.green-tag {
  background: var(--cb-green-light);
  color: var(--cb-green-hover);
  border-color: rgba(46, 157, 24, 0.25);
}

.section-tag.blue-tag {
  background: var(--cb-blue-light);
  color: var(--cb-blue-primary);
  border-color: rgba(0, 64, 168, 0.2);
}

/* Headings System */
.section-heading {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--cb-slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subheading {
  font-size: 1.15rem;
  color: var(--cb-slate-500);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ==========================================================================
   2. HEADER & STICKY NAVIGATION (MASTER REDESIGN & ALIGNMENT)
   ========================================================================== */
.top-utility-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background: #0B192C;
  color: #CBD5E1;
  font-size: 0.825rem;
  z-index: 1010;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.site-header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 64, 168, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  height: 96px;
  box-shadow: 0 4px 20px rgba(0, 64, 168, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 138px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  display: block;
}

.site-header.scrolled .brand-logo-img {
  height: 84px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}

.nav-item { position: relative; flex-shrink: 0; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--cb-slate-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.nav-link:hover {
  color: var(--cb-blue-primary);
  background: var(--cb-blue-light);
}

.nav-link.active {
  color: var(--cb-blue-primary);
  background: var(--cb-blue-light);
  font-weight: 700;
}

.nav-link .arrow-icon {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
  line-height: 1;
}

.nav-item:hover .nav-link .arrow-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 440px;
  background: var(--cb-white);
  border: 1px solid var(--cb-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--cb-shadow-lg);
  padding: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1010;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown-header {
  padding: 0.35rem 0.65rem;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cb-slate-500);
  border-bottom: 1px solid var(--cb-slate-100);
  margin-bottom: 0.4rem;
}

.dropdown-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.dropdown-card:hover { background: var(--cb-bg-light); }
.dropdown-card.triosome-highlight:hover { background: var(--cb-blue-light); }
.dropdown-card.microbead-highlight:hover { background: var(--cb-green-light); }

.dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.icon-blue { background: var(--cb-blue-light); color: var(--cb-blue-primary); }
.icon-green { background: var(--cb-green-light); color: var(--cb-green-primary); }

.dropdown-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cb-slate-900);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-card-subtitle {
  font-size: 0.825rem;
  color: var(--cb-slate-500);
  margin-top: 0.15rem;
  line-height: 1.35;
}

.badge-pill {
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
}

.badge-blue { background: var(--cb-blue-primary); color: white; }
.badge-green { background: var(--cb-green-primary); color: white; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-header-cta {
  height: 44px;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Standardized Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cb-blue-primary), var(--cb-blue-hover));
  color: var(--cb-white);
  box-shadow: 0 4px 14px rgba(0, 64, 168, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 64, 168, 0.32);
}

.btn-secondary {
  background: var(--cb-white);
  color: var(--cb-blue-primary);
  border-color: var(--cb-blue-primary);
}

.btn-secondary:hover {
  background: var(--cb-blue-light);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--cb-green-primary), var(--cb-green-emerald));
  color: var(--cb-white);
  box-shadow: 0 4px 14px rgba(46, 157, 24, 0.22);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(46, 157, 24, 0.32);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--cb-slate-900);
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 310px;
  height: 100vh;
  background: var(--cb-white);
  z-index: 1100;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active { right: 0; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mobile-close-btn {
  background: var(--cb-bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-nav-links { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav-item { border-bottom: 1px solid var(--cb-slate-100); padding-bottom: 0.75rem; }
.mobile-nav-title { font-weight: 700; font-size: 1.05rem; color: var(--cb-slate-900); display: block; }

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 25, 44, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.active { opacity: 1; visibility: visible; }

/* ==========================================================================
   5. COMPONENT & SECTION STYLES (POLISHED & FEATURED)
   ========================================================================== */

/* About Us Section Standard Grid */
.about-standard-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

/* Technology Page 2-Column Intro Grid */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--cb-shadow-lg);
  border: 1px solid var(--cb-border-subtle);
}

.about-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.about-stat-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(11, 25, 44, 0.88);
  backdrop-filter: blur(8px);
  color: var(--cb-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Category Filter Bar & Buttons */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  background: #F1F5F9;
  color: var(--cb-slate-700);
  border: 1.5px solid #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.filter-btn:hover {
  background: #E2E8F0;
  color: var(--cb-slate-900);
  border-color: #94A3B8;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--cb-blue-primary), var(--cb-blue-hover));
  color: var(--cb-white);
  border-color: var(--cb-blue-primary);
  box-shadow: 0 4px 14px rgba(0, 64, 168, 0.22);
}

.formulation-count-badge {
  background: var(--cb-blue-light);
  color: var(--cb-blue-primary);
  font-weight: 800;
  font-size: 0.825rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 64, 168, 0.15);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}

/* Contact & B2B Form Card System */
.scientific-card-graphic {
  background: var(--cb-white);
  border: 1px solid var(--cb-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--cb-shadow-md);
  border-top: 4px solid var(--cb-blue-primary);
}

.b2b-form-card {
  background: var(--cb-white);
  border: 1px solid var(--cb-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--cb-shadow-lg);
}

.contact-form-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: var(--cb-white);
  border: 1px solid var(--cb-border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.75rem 2.5rem 2.75rem;
  box-shadow: var(--cb-shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--cb-slate-900);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-input,
.form-control,
.form-select,
.form-textarea {
  width: 100%;
  height: 48px;
  padding: 0 1.15rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--cb-slate-900);
  background: #F8FAFC;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.form-input::placeholder,
.form-control::placeholder,
.form-textarea::placeholder {
  color: #94A3B8;
  font-size: 0.9rem;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230040A8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 1rem;
  padding-right: 2.75rem;
  cursor: pointer;
}

.form-textarea {
  height: 130px;
  padding: 0.9rem 1.15rem;
  resize: vertical;
  line-height: 1.6;
}

.form-input:hover:not(:focus),
.form-control:hover:not(:focus),
.form-select:hover:not(:focus),
.form-textarea:hover:not(:focus) {
  border-color: #94A3B8;
  background: var(--cb-white);
}

.form-input:focus,
.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--cb-blue-primary);
  background: var(--cb-white);
  box-shadow: 0 0 0 4px rgba(0, 64, 168, 0.14);
  outline: none;
}

.b2b-enquiry-form button[type="submit"],
.b2b-enquiry-form .btn-submit {
  width: 100%;
  height: 52px;
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cb-blue-primary), var(--cb-blue-hover));
  color: var(--cb-white);
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(0, 64, 168, 0.25);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.b2b-enquiry-form button[type="submit"]:hover,
.b2b-enquiry-form .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 64, 168, 0.35);
}

/* Framed Widescreen Lab Photo Showcase */
.framed-lab-photo-container {
  position: relative;
  max-width: 920px;
  margin: 2.5rem auto 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 64, 168, 0.14);
  border: 6px solid var(--cb-white);
  background: var(--cb-slate-900);
}

.framed-lab-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.framed-lab-photo-container:hover .framed-lab-photo {
  transform: scale(1.03);
}

.framed-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 25, 44, 0.92) 100%);
  color: var(--cb-white);
  padding: 2rem 2rem 1.5rem 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* Elevated R&D Gallery Cards */
.rd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.rd-gallery-card {
  background: var(--cb-white);
  border: 1px solid var(--cb-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--cb-shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.rd-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cb-shadow-lg);
  border-color: rgba(0, 64, 168, 0.25);
}

.rd-gallery-img-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--cb-slate-100);
}

.rd-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rd-gallery-card:hover .rd-gallery-img {
  transform: scale(1.06);
}

.rd-gallery-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rd-gallery-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cb-slate-900);
  margin-bottom: 0.5rem;
}

.rd-gallery-desc {
  font-size: 0.875rem;
  color: var(--cb-slate-500);
  line-height: 1.5;
}

/* Enhanced Site Footer */
.site-footer {
  background: linear-gradient(180deg, #0B192C 0%, #030811 100%);
  color: #94A3B8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   4. HERO SECTION ALIGNMENT
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 4rem;
  background: radial-gradient(circle at 75% 25%, rgba(0, 64, 168, 0.05) 0%, rgba(255, 255, 255, 1) 70%),
              linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--cb-blue-dark);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-headline span.text-blue { color: var(--cb-blue-primary); }
.hero-headline span.text-green { color: var(--cb-green-primary); }

.hero-subtext {
  font-size: 1.2rem;
  color: var(--cb-slate-700);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-tech-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cb-slate-100);
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cb-slate-700);
}

.tech-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.tech-dot.blue { background: var(--cb-blue-primary); color: var(--cb-blue-primary); }
.tech-dot.green { background: var(--cb-green-primary); color: var(--cb-green-primary); }

/* ==========================================================================
   5. INTERACTIVE TOUCHABLE CARDS & PORTFOLIO GRID SYSTEM
   ========================================================================== */
.niche-touch-card {
  background: var(--cb-white);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  border: 1px solid var(--cb-slate-100);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.niche-touch-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 64, 168, 0.12);
  border-color: var(--cb-blue-primary);
  background: #FFFFFF;
}

.niche-touch-card:active {
  transform: translateY(-2px) scale(0.99);
}

.product-card {
  background: var(--cb-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--cb-slate-100);
  box-shadow: var(--cb-shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cb-shadow-lg);
  border-color: var(--cb-border-subtle);
}

.product-img-wrap {
  background: #0B192C;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.product-info {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cb-slate-900);
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--cb-slate-500);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Core Domains Grid */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.app-card {
  background: var(--cb-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cb-slate-100);
  padding: 1.75rem;
  box-shadow: var(--cb-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  height: 100%;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cb-shadow-lg);
  border-color: var(--cb-border-subtle);
}

.app-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cb-slate-900);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.app-desc {
  font-size: 0.95rem;
  color: var(--cb-slate-500);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.app-link {
  font-weight: 800;
  font-size: 1rem;
  color: var(--cb-blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.app-link:hover { gap: 0.75rem; }

/* ==========================================================================
   6. FOOTER STYLING
   ========================================================================== */
.site-footer {
  background: var(--cb-blue-dark);
  color: var(--cb-white);
  padding-top: 4.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  background: white;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cb-green-emerald);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.925rem;
  color: var(--cb-slate-300);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-stats-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-stat-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cb-slate-300);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cb-white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.925rem;
  color: var(--cb-slate-300);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--cb-green-emerald);
  padding-left: 0.35rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--cb-slate-300);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.footer-contact-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--cb-slate-300);
  flex-wrap: wrap;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1120px) {
  :root {
    --header-height: 120px;
    --section-padding-v: 3.5rem;
  }

  .desktop-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-headline { font-size: 2.65rem; }
  .hero-subtext { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-tech-badges { justify-content: center; }

  .about-standard-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 640px) {
  :root {
    --header-height: 120px;
    --section-padding-v: 2.75rem;
  }

  .container { padding-left: 1.15rem; padding-right: 1.15rem; }
  .hero-headline { font-size: 2.15rem; }
  .section-heading { font-size: 1.85rem; }
  .section-subheading { font-size: 1.05rem; }
  .btn { width: 100%; }

  .app-grid { grid-template-columns: 1fr; }
  .rd-gallery-grid { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
}

/* ==========================================================================
   CATEGORY PRODUCT BRIEF POP-UP MODAL & ACCORDION SYSTEM
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 25, 44, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.category-modal-card {
  background: var(--cb-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 840px;
  max-height: 88vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--cb-border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .category-modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  font-size: 1.35rem;
  color: var(--cb-slate-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--cb-blue-primary);
  color: var(--cb-white);
  border-color: var(--cb-blue-primary);
}

.category-modal-header {
  padding: 2.25rem 2.25rem 1.25rem 2.25rem;
  border-bottom: 1px solid var(--cb-slate-100);
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.category-modal-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cat-count-pill {
  background: var(--cb-blue-light);
  color: var(--cb-blue-primary);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 64, 168, 0.15);
  letter-spacing: 0.05em;
}

.category-modal-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--cb-slate-900);
  margin-bottom: 0.5rem;
}

.category-modal-brief {
  font-size: 0.975rem;
  color: var(--cb-slate-500);
  line-height: 1.6;
}

.category-modal-body {
  padding: 1.5rem 2.25rem;
  overflow-y: auto;
  flex-grow: 1;
}

/* Category Table Styling */
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.product-table thead th {
  text-align: left;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cb-blue-primary);
  font-weight: 800;
  padding: 0.85rem 0.5rem;
  border-bottom: 2px solid var(--cb-blue-primary);
}

.product-table th.si-col { width: 70px; }

.product-table tbody tr {
  border-bottom: 1px solid var(--cb-slate-100);
  transition: background 0.15s ease;
}

.product-table tbody tr:hover {
  background: var(--cb-bg-light);
}

.product-table td {
  padding: 0.95rem 0.5rem;
  vertical-align: top;
}

.si-col {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--cb-blue-primary);
  font-size: 0.95rem;
}

.product-name-text {
  font-weight: 700;
  color: var(--cb-slate-900);
  font-size: 0.95rem;
  display: block;
}

.product-actives-text {
  font-size: 0.835rem;
  color: var(--cb-slate-500);
  font-style: italic;
  margin-top: 0.25rem;
  display: block;
}

.category-modal-footer {
  padding: 1.25rem 2.25rem;
  background: var(--cb-bg-light);
  border-top: 1px solid var(--cb-slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Category Accordion Component */
.category-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.category-card-acc {
  background: var(--cb-white);
  border: 1px solid var(--cb-slate-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--cb-shadow-sm);
  transition: var(--transition);
}

.category-card-acc:hover {
  box-shadow: var(--cb-shadow-md);
  border-color: var(--cb-border-subtle);
}

.acc-header-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  text-align: left;
  border-top: 3px solid var(--cb-blue-primary);
  transition: background 0.15s ease;
}

.acc-header-btn:hover {
  background: var(--cb-bg-light);
}

.acc-chevron {
  font-size: 0.9rem;
  color: var(--cb-blue-primary);
  transition: transform 0.25s ease;
}

.acc-header-btn[aria-expanded="true"] .acc-chevron {
  transform: rotate(90deg);
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc-panel-inner {
  padding: 0.5rem 1.75rem 1.75rem 1.75rem;
  border-top: 1px solid var(--cb-slate-100);
}

/* ==========================================================================
   USER-ATTRACTIVE R&D LABORATORY GALLERY SHOWCASE
   ========================================================================== */
.rd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.rd-gallery-card {
  background: var(--cb-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cb-border-subtle);
  box-shadow: var(--cb-shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.rd-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 64, 168, 0.16);
  border-color: var(--cb-blue-primary);
}

.rd-gallery-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0F172A;
}

.rd-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-gallery-card:hover .rd-gallery-img {
  transform: scale(1.08);
}

.rd-gallery-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rd-gallery-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cb-slate-900);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.rd-gallery-desc {
  font-size: 0.9rem;
  color: var(--cb-slate-500);
  line-height: 1.6;
}

/* ==========================================================================
   MOBILE & TOUCH-OPTIMIZED RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

.portfolio-filter-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.portfolio-filter-tabs::-webkit-scrollbar {
  display: none;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .hero-headline {
    font-size: 2.75rem;
  }
  
  .about-standard-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .rd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 120px;
  }
  
  /* Auto-hide Top Utility Bar on Small Mobile for Maximum Vertical Screen Space */
  .top-utility-bar {
    display: none !important;
  }
  
  .site-header {
    top: 0 !important;
    height: 64px !important;
    padding: 0 1rem !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }
  
  .brand-logo-img {
    height: 54px !important;
    width: auto !important;
  }
  
  .hero-section {
    padding-top: 5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .hero-headline {
    font-size: 2.15rem !important;
    line-height: 1.25 !important;
  }
  
  .hero-subtext {
    font-size: 1rem !important;
  }

  .section-heading {
    font-size: 1.85rem !important;
  }
  
  .section-subheading {
    font-size: 1rem !important;
  }
  
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .rd-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  
  .form-group.full-width {
    grid-column: 1 !important;
  }
  
  .b2b-form-card,
  .scientific-card-graphic,
  .contact-form-wrapper {
    padding: 1.75rem 1.25rem !important;
    border-radius: var(--radius-md) !important;
  }
  
  /* Prevent iOS zoom on input focus */
  .form-input,
  .form-control,
  .form-select,
  .form-textarea {
    font-size: 16px !important;
    height: 48px !important;
  }
  
  /* Mobile Modal Responsiveness */
  .category-modal-card {
    width: 94vw !important;
    max-height: 92vh !important;
    border-radius: var(--radius-md) !important;
  }
  
  .category-modal-header {
    padding: 1.5rem 1.25rem 1rem 1.25rem !important;
  }
  
  .category-modal-title {
    font-size: 1.45rem !important;
  }
  
  .category-modal-body {
    padding: 1rem 1.25rem !important;
  }
  
  .category-modal-footer {
    padding: 1rem 1.25rem !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }
  
  .category-modal-footer .btn {
    width: 100% !important;
  }
  
  /* Mobile Touch Drawer */
  .mobile-drawer {
    width: 85% !important;
    max-width: 320px !important;
    padding: 1.5rem 1.25rem !important;
  }
  
  .mobile-nav-title {
    font-size: 1.1rem !important;
    padding: 0.75rem 0 !important;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.85rem !important;
  }
  
  .btn {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
  }
  
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .hero-tech-badges {
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* ==========================================================================
   SCROLLING ANNOUNCEMENT TICKER MARQUEE BAR AFTER NAV & BROCHURE CTA
   ========================================================================== */
.top-bar-brochure-btn:hover {
  background: #1D4ED8 !important;
}

.scrolling-ticker-bar {
  background: linear-gradient(90deg, #0B192C 0%, #1E3A8A 50%, #0B192C 100%);
  color: #F8FAFC;
  overflow: hidden;
  padding: 0.65rem 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  position: relative;
  z-index: 990;
  margin-top: calc(var(--header-height) + 36px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section {
  padding-top: 2.5rem !important;
}

.ticker-wrapper {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.scrolling-ticker-bar:hover .ticker-wrapper {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
}

.ticker-dot {
  color: #60A5FA;
  font-size: 1.1rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .scrolling-ticker-bar {
    margin-top: 64px !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 0 !important;
  }
  .btn-header-brochure {
    display: none !important;
  }
}

/* ==========================================================================
   SCIENTIFIC PATHWAY STEP LIST & ALIGNMENT FIXES
   ========================================================================== */
.pathway-step-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pathway-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1rem 1.25rem;
  background: var(--cb-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--cb-border-subtle);
  transition: all 0.25s ease;
}

.pathway-step-item:hover {
  background: var(--cb-white);
  border-color: var(--cb-blue-primary);
  box-shadow: var(--cb-shadow-sm);
}

.step-number {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cb-blue-primary);
  color: var(--cb-white);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 64, 168, 0.2);
}

.step-number.green {
  background: var(--cb-green-primary);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   FEATURED HAIR, SKIN & BODY CARE FLYER SHOWCASE (LIGHT DERMA THEME)
   ========================================================================== */
.flyer-showcase-section {
  position: relative;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 50%, #F0FDF4 100%);
  padding: 3.75rem 0;
  color: var(--cb-slate-900);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
}

.flyer-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 64, 168, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.flyer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 64, 168, 0.12);
  border-color: #CBD5E1 !important;
}

@media (max-width: 768px) {
  .flyer-showcase-section {
    padding: 2.5rem 0;
  }
}






/* ==========================================================================
   4-FLYER SWIPING HERO BANNER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #FFFFFF;
  border-bottom: 1px solid var(--cb-slate-200);
}

.hero-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  width: 400%;
  transform: translateX(0%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide-pane {
  width: 25%;
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 520px;
}

.hero-slide-pane .btn,
.hero-slide-pane a,
.hero-slide-pane button {
  position: relative;
  z-index: 30;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Slide Specific Background Themes */
.slide-overview {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 50%, #EFF6FF 100%);
}

.slide-hair {
  background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 60%, #EBF3FF 100%);
}

.slide-skin {
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 60%, #ECFDF5 100%);
}

.slide-body {
  background: linear-gradient(135deg, #FFFBEB 0%, #FFFFFF 60%, #FEF3C7 100%);
}

.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  width: 100%;
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-slide-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0F172A;
  margin-bottom: 1rem;
}

.hero-slide-subtext {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-slide-actives {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.active-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hero-slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-slide-img-wrapper {
  position: relative;
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-img-wrapper img {
  max-height: 360px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
}

/* Floating Navigation Arrows */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #0F172A;
  cursor: pointer;
  z-index: 30;
  transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
  background: #0040A8;
  color: #FFFFFF;
  border-color: #0040A8;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev {
  left: 1.5rem;
}

.slider-arrow-next {
  right: 1.5rem;
}

@media (max-width: 900px) {
  .hero-slide-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 0 3.5rem 0;
  }
  .hero-slide-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-slide-actives {
    justify-content: center;
  }
  .slider-arrow-btn {
    display: none;
  }
  .hero-slide-img-wrapper img {
    max-height: 250px;
  }
}


/* ==========================================================================
   PAGE HERO PADDING & TOP HEADER SPACING FIXES
   ========================================================================== */
body {
  padding-top: 0;
}

.page-hero,
.hero-section,
.hero-slider-section,
.tech-hero {
  padding-top: calc(var(--header-height) + 2.5rem) !important;
}

@media (max-width: 900px) {
  .page-hero,
  .hero-section,
  .hero-slider-section,
  .tech-hero {
    padding-top: calc(var(--header-height) + 1.5rem) !important;
  }
}

/* ==========================================================================
   DEVELOPMENT & MANUFACTURING 7-STEP PIPELINE
   ========================================================================== */
.process-pipeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.process-step-card {
  background: var(--cb-white);
  border: 1px solid var(--cb-slate-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--cb-shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--cb-blue-primary);
  box-shadow: var(--cb-shadow-md);
}

.process-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cb-blue-light);
  color: var(--cb-blue-primary);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 1px solid var(--cb-blue-light-border);
}

.process-step-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--cb-slate-900);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.process-step-desc {
  font-size: 0.775rem;
  color: var(--cb-slate-600);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 1100px) {
  .process-pipeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .process-pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-pipeline {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   R&D LAB GALLERY GRID FIX
   ========================================================================== */

/* SWIPEABLE CAROUSEL (R&D & RECENTLY LAUNCHED) */
.swipe-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  cursor: grab;
}
.swipe-carousel-wrapper:active {
  cursor: grabbing;
}
.swipe-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease-out;
  will-change: transform;
}
.swipe-carousel-slide {
  flex: 0 0 auto;
  width: 85%;
  max-width: 350px;
}
@media (min-width: 768px) {
  .swipe-carousel-slide {
    width: 30%;
    max-width: 400px;
  }
  .product-carousel-slide {
    width: calc((100% - 3rem) / 3) !important;
    max-width: none !important;
  }
}

/* COMPANIES MARQUEE */
.companies-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
}
.companies-marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: scrollMarquee 20s linear infinite;
}
.companies-marquee-track:hover {
  animation-play-state: paused;
}
.company-logo {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.company-logo:hover {
  transform: scale(1.1);
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.rd-lab-gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100% !important;
}

.rd-gallery-card {
  background: var(--cb-white);
  border: 1px solid var(--cb-slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--cb-shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.rd-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cb-shadow-md);
  border-color: var(--cb-blue-primary);
}

.rd-gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.rd-gallery-info {
  padding: 1rem 1.25rem;
}

.rd-gallery-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--cb-slate-900);
  margin-bottom: 0.25rem;
}

.rd-gallery-sub {
  font-size: 0.825rem;
  color: var(--cb-slate-600);
  margin: 0;
}


/* ==========================================================================
   DEVELOPMENT & MANUFACTURING 7-STEP PIPELINE FIX
   ========================================================================== */
.process-pipeline {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 1rem !important;
  margin-top: 2rem !important;
  margin-bottom: 2.5rem !important;
  width: 100% !important;
}

.process-node {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: var(--radius-md) !important;
  padding: 1.5rem 0.75rem !important;
  text-align: center !important;
  box-shadow: 0 4px 12px rgba(0, 64, 168, 0.05) !important;
  transition: all 0.28s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 130px !important;
}

.process-node:hover {
  transform: translateY(-5px) !important;
  border-color: #0040A8 !important;
  box-shadow: 0 12px 28px rgba(0, 64, 168, 0.14) !important;
}

.process-node-icon {
  font-size: 2.25rem !important;
  margin-bottom: 0.6rem !important;
  display: block !important;
}

.process-node-title {
  font-family: var(--font-heading) !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.process-arrow {
  display: none !important;
}

@media (max-width: 1024px) {
  .process-pipeline {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .process-pipeline {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* ==========================================================================
   SYSTEMWIDE HEADER OVERLAP FIX
   ========================================================================== */
:root {
  --header-height: 120px;
}

.site-header {
  top: 36px !important;
}

.hero-section,
.page-hero,
.tech-hero {
  padding-top: 150px !important;
}

@media (max-width: 900px) {
  .site-header {
    top: 0 !important;
  }
  .hero-section,
  .page-hero,
  .tech-hero {
    padding-top: 98px !important;
  }
}


/* ==========================================================================
   TOP UTILITY CONTACT BAR (PERFECT RIGHT-ALIGNMENT & HIGH Z-INDEX)
   ========================================================================== */
.top-utility-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background: #0B192C;
  color: #CBD5E1;
  font-size: 0.825rem;
  z-index: 1050;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
}

.utility-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.utility-contact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.utility-link {
  color: #E2E8F0;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.utility-link:hover {
  color: #60A5FA;
}

.utility-icon {
  width: 14px;
  height: 14px;
}

.utility-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.brochure-pill-btn {
  background: #2563EB;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.775rem;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.brochure-pill-btn:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
}


/* ==========================================================================
   ROCK-SOLID SLIDER ARROW BUTTONS & INTERACTION
   ========================================================================== */
.slider-arrow-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  color: #0F172A !important;
  cursor: pointer !important;
  z-index: 200 !important;
  pointer-events: auto !important;
  transition: all 0.25s ease !important;
}

.slider-arrow-btn:hover {
  background: #0040A8 !important;
  color: #FFFFFF !important;
  border-color: #0040A8 !important;
  transform: translateY(-50%) scale(1.12) !important;
}

.slider-arrow-prev { left: 1.5rem !important; }
.slider-arrow-next { right: 1.5rem !important; }


/* ==========================================================================
   SUPER CLEAN FIXED HEADER & LOGO FIT (NO OVERLAP)
   ========================================================================== */
:root {
  --header-height: 120px;
}

.top-utility-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 36px !important;
  background: #0B192C !important;
  color: #CBD5E1 !important;
  z-index: 1050 !important;
  display: flex !important;
  align-items: center !important;
}

.site-header {
  position: fixed !important;
  top: 36px !important;
  left: 0 !important;
  width: 100% !important;
  height: 76px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 1000 !important;
  box-shadow: 0 2px 12px rgba(0, 64, 168, 0.08) !important;
  border-bottom: 1px solid rgba(0, 64, 168, 0.08) !important;
}






/* ==========================================================================
   EXTRA LARGE HIGH-VISIBILITY BRAND LOGO & HEADER
   ========================================================================== */
.site-header {
  position: fixed !important;
  top: 36px !important;
  left: 0 !important;
  width: 100% !important;
  height: 116px !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(0, 64, 168, 0.12) !important;
}

.header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
}

.brand-logo,
.brand-logo-img,
.logo-link img {
  height: 96px !important;
  max-height: 96px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.25s ease !important;
}

.brand-logo:hover,
.brand-logo-img:hover,
.logo-link img:hover {
  transform: scale(1.03) !important;
}

.main-nav {
  display: flex !important;
  align-items: center !important;
  gap: 1.1rem !important;
}

.nav-link {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  padding: 0.45rem 0.75rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: #0040A8 !important;
}

.hero-slider-section,
.hero-section,
.page-hero,
.tech-hero {
  padding-top: 164px !important;
}

@media (max-width: 991px) {
  .site-header {
    height: 88px !important;
  }
  .brand-logo,
  .brand-logo-img,
  .logo-link img {
    height: 72px !important;
    max-height: 72px !important;
  }
  .hero-slider-section,
  .hero-section,
  .page-hero,
  .tech-hero {
    padding-top: 136px !important;
  }
}


/* ==========================================================================
   EVERY BANNER SLIDES IN FROM THE LEFT
   ========================================================================== */
.hero-slide-pane.active .hero-banner-img-wrapper {
  animation: slideInFromLeft 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.hero-slide-pane.active 
/* Hero Slider Action Bar - Center Aligned */
.hero-banner-action-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1rem auto 0 auto !important;
  max-width: 860px !important;
  gap: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.hero-banner-action-bar > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.35rem !important;
}

.hero-banner-action-bar > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  flex-wrap: wrap !important;
}

.old-hero-action-bar {
  animation: slideInFromLeft 0.78s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0.1;
    transform: translateX(-140px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}




/* ==========================================================================
   HERO FLYER – EDGE-TO-EDGE, PROPER PRESENTATION (v65)
   ========================================================================== */
.hero-slider-section {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #F1F5F9 !important;
  padding-top: 140px !important;
  padding-bottom: 2rem !important;
  border-bottom: 1px solid var(--cb-slate-200) !important;
}

.hero-slider-viewport {
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

.hero-slider-track {
  display: flex !important;
  width: 500% !important;
  transform: translateX(0%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform;
}

.hero-slide-pane {
  width: 20% !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

.hero-banner-img-wrapper {
  position: relative !important;
  width: 100% !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  border: 1px solid #E2E8F0 !important;
  background: #FFFFFF !important;
  line-height: 0 !important;
}

.hero-banner-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* Hero Slider Action Bar - Center Aligned */
.hero-banner-action-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1rem auto 0 auto !important;
  max-width: 860px !important;
  gap: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.hero-banner-action-bar > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.35rem !important;
}

.hero-banner-action-bar > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  flex-wrap: wrap !important;
}

.old-hero-action-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
  background: #FFFFFF !important;
  padding: 0.85rem 1.5rem !important;
  border-radius: 12px !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
  position: relative !important;
  z-index: 100 !important;
}

.slider-arrow-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-100%) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--cb-blue-primary) !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14) !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  z-index: 500 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(8px) !important;
}

.slider-arrow-btn:hover {
  background: var(--cb-blue-primary) !important;
  color: #FFFFFF !important;
  transform: translateY(-100%) scale(1.1) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22) !important;
}

.slider-arrow-prev { left: 1.25rem !important; }
.slider-arrow-next { right: 1.25rem !important; }

@media (max-width: 768px) {
  .slider-arrow-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
  }
  .slider-arrow-prev { left: 0.5rem !important; }
  .slider-arrow-next { right: 0.5rem !important; }
  .hero-slider-section { padding-top: 125px !important; padding-bottom: 1.25rem !important; }
  .hero-banner-img-wrapper { border-radius: 10px !important; }
  
/* Hero Slider Action Bar - Center Aligned */
.hero-banner-action-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1rem auto 0 auto !important;
  max-width: 860px !important;
  gap: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.hero-banner-action-bar > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.35rem !important;
}

.hero-banner-action-bar > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  flex-wrap: wrap !important;
}

.old-hero-action-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0.75rem 1rem !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .hero-slider-section { padding-top: 115px !important; }
  .slider-arrow-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }
  .slider-arrow-prev { left: 0.35rem !important; }
  .slider-arrow-next { right: 0.35rem !important; }
}


/* ==========================================================================
   R&D LAB PHOTO GALLERY & LIGHTBOX STYLES
   ========================================================================== */
.rd-gallery-card {
  position: relative !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  height: 220px !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
  border: 1px solid #E2E8F0 !important;
  cursor: pointer !important;
  background: #0F172A !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.rd-gallery-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 16px 32px rgba(0, 64, 168, 0.16) !important;
}

.rd-gallery-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.rd-gallery-card:hover img {
  transform: scale(1.08) !important;
}

.rd-gallery-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: linear-gradient(0deg, rgba(11, 25, 44, 0.92) 0%, rgba(11, 25, 44, 0) 100%) !important;
  padding: 1.25rem 1rem 0.85rem !important;
  display: flex !important;
  align-items: flex-end !important;
  transition: background 0.3s ease !important;
}


/* ==========================================================================
   MOBILE NAVIGATION DRAWER & REARRANGED TOP BAR STYLING
   ========================================================================== */

/* 1. Mobile Top Utility Bar */
.top-utility-bar {
  background: #0B192C !important;
  color: #CBD5E1 !important;
  font-size: 0.825rem !important;
  padding: 0.45rem 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1010 !important;
}

@media (max-width: 768px) {
  .top-utility-bar {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.75rem !important;
  }

  .top-utility-bar .container {
    justify-content: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .top-utility-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
  }

  .top-utility-bar a {
    white-space: nowrap !important;
    font-size: 0.725rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
  }

  .top-bar-brochure-btn {
    padding: 0.2rem 0.55rem !important;
    font-size: 0.7rem !important;
    flex-shrink: 0 !important;
    border-radius: 9999px !important;
  }
}

@media (max-width: 480px) {
  .top-utility-bar {
    padding: 0.3rem 0.25rem !important;
  }
  .top-utility-bar a {
    font-size: 0.68rem !important;
  }
  .top-bar-email-full {
    display: none !important;
  }
  .top-bar-email-short {
    display: inline !important;
  }
}

/* 2. Mobile Toggle Button */
.mobile-nav-toggle,
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: var(--cb-blue-primary);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1002;
  padding: 0;
  line-height: 1;
}

.mobile-nav-toggle:hover,
.mobile-toggle:hover {
  background: var(--cb-blue-primary);
  color: #FFFFFF;
  border-color: var(--cb-blue-primary);
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }
  
  .mobile-nav-toggle,
  .mobile-toggle {
    display: flex !important;
  }

  .header-actions .btn {
    display: none !important;
  }

  .site-header {
    height: 90px !important;
  }

  .brand-logo-img {
    height: 80px !important;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 80px !important;
  }
  .brand-logo-img {
    height: 68px !important;
  }
}

/* 3. Mobile Navigation Drawer (Off-Canvas Side Menu) */
.mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 320px !important;
  max-width: 86vw !important;
  height: 100vh !important;
  background: #FFFFFF !important;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.25) !important;
  z-index: 9999 !important;
  transform: translateX(100%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.mobile-drawer.active {
  transform: translateX(0%) !important;
}

.drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(11, 25, 44, 0.65) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 9998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
}

.drawer-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-drawer-content {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.mobile-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
}

.mobile-close-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #334155 !important;
  font-size: 1.5rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}

.mobile-close-btn:hover {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  border-color: #EF4444 !important;
}

.mobile-nav-links {
  padding: 1rem 1.25rem !important;
  overflow-y: auto !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
}

.mobile-nav-item {
  width: 100% !important;
}

.mobile-nav-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1rem !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.mobile-nav-title:hover,
.mobile-nav-title.active {
  background: var(--cb-blue-light) !important;
  color: var(--cb-blue-primary) !important;
}

.mobile-drawer-footer {
  padding: 1.25rem 1.5rem !important;
  border-top: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.mobile-drawer-contact {
  font-size: 0.825rem !important;
  color: #64748B !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  margin-top: 0.5rem !important;
}


/* ==========================================================================
   PERFECT MOBILE NAVIGATION & RESPONSIVE HEADER
   ========================================================================== */

/* Utility Top Bar */
.top-utility-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 36px !important;
  background: #0B192C !important;
  color: #CBD5E1 !important;
  font-size: 0.825rem !important;
  z-index: 1010 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
}

.top-utility-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1.15rem !important;
  width: 100% !important;
}

.top-utility-inner a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  text-decoration: none !important;
}

/* Site Header */
.site-header {
  position: fixed !important;
  top: 36px !important;
  left: 0 !important;
  width: 100% !important;
  height: var(--header-height, 140px) !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(0, 64, 168, 0.08) !important;
  transition: all 0.28s ease !important;
}

.site-header.scrolled {
  height: 90px !important;
  box-shadow: 0 4px 20px rgba(0, 64, 168, 0.08) !important;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  width: 100% !important;
}

.brand-logo-link {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.brand-logo-img {
  height: 125px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  display: block !important;
  transition: height 0.25s ease !important;
}

.site-header.scrolled .brand-logo-img {
  height: 75px !important;
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-shrink: 0 !important;
}

/* Mobile Toggle Hamburger Button */
.mobile-nav-toggle,
.mobile-toggle {
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: var(--cb-blue-primary, #0040A8) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 64, 168, 0.25) !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.mobile-nav-toggle:active,
.mobile-toggle:active {
  transform: scale(0.95) !important;
}

/* ==========================================================================
   MOBILE BREAKPOINTS (Tablets & Phones <= 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .top-utility-bar {
    height: 32px !important;
    font-size: 0.75rem !important;
    padding: 0 0.5rem !important;
  }

  .top-utility-inner {
    justify-content: space-between !important;
    gap: 0.5rem !important;
  }

  .top-utility-bar .top-bar-brochure-btn {
    display: none !important; /* Move to side menu on mobile */
  }

  .top-utility-bar .top-bar-divider-2 {
    display: none !important;
  }

  .site-header {
    top: 32px !important;
    height: 70px !important;
  }

  .site-header.scrolled {
    height: 70px !important;
  }

  .brand-logo-img {
    height: 52px !important;
    max-width: 180px !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .header-actions .btn {
    display: none !important; /* Move to side menu on mobile */
  }

  .mobile-nav-toggle,
  .mobile-toggle {
    display: flex !important;
  }

  /* Universal section top padding offset for fixed mobile header (32px + 70px = 102px) */
  .hero-section,
  .hero-slider-section,
  body > section:first-of-type,
  body > main > section:first-of-type {
    padding-top: 110px !important;
  }
}

@media (max-width: 480px) {
  .top-utility-bar {
    height: 30px !important;
    font-size: 0.7rem !important;
  }

  .site-header {
    top: 30px !important;
    height: 64px !important;
  }

  .brand-logo-img {
    height: 46px !important;
    max-width: 155px !important;
  }

  .mobile-nav-toggle,
  .mobile-toggle {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.35rem !important;
  }

  .top-bar-email-full {
    display: none !important;
  }
  .top-bar-email-short {
    display: inline !important;
  }
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER & BACKDROP
   ========================================================================== */
.mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 320px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  background: #FFFFFF !important;
  box-shadow: -8px 0 35px rgba(15, 23, 42, 0.3) !important;
  z-index: 99999 !important;
  transform: translateX(100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.mobile-drawer.active {
  transform: translateX(0%) !important;
}

.drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.drawer-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-drawer-content {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.mobile-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
}

.mobile-close-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}

.mobile-close-btn:hover {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  border-color: #EF4444 !important;
}

.mobile-nav-links {
  padding: 1rem 1.25rem !important;
  overflow-y: auto !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
}

.mobile-nav-item {
  width: 100% !important;
}

.mobile-nav-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1rem !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.mobile-nav-title:hover,
.mobile-nav-title.active {
  background: var(--cb-blue-light, #EFF6FF) !important;
  color: var(--cb-blue-primary, #0040A8) !important;
}

.mobile-drawer-footer {
  padding: 1.25rem 1.5rem !important;
  border-top: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.mobile-drawer-contact {
  font-size: 0.825rem !important;
  color: #64748B !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  margin-top: 0.35rem !important;
}


/* ==========================================================================
   PERFECT CLEAN MOBILE NAVIGATION & RESPONSIVE HEADER
   ========================================================================== */

/* Top Utility Bar */
.top-utility-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 36px !important;
  background: #0B192C !important;
  color: #CBD5E1 !important;
  font-size: 0.825rem !important;
  z-index: 1010 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  align-items: center !important;
}

.top-utility-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1.15rem !important;
  width: 100% !important;
}

.top-utility-inner a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  text-decoration: none !important;
}

/* Site Header */
.site-header {
  position: fixed !important;
  top: 36px !important;
  left: 0 !important;
  width: 100% !important;
  height: 110px !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(0, 64, 168, 0.08) !important;
  transition: all 0.28s ease !important;
}

.site-header.scrolled {
  height: 80px !important;
  box-shadow: 0 4px 20px rgba(0, 64, 168, 0.08) !important;
}

.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 100% !important;
  width: 100% !important;
}

.brand-logo-link {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.brand-logo-img {
  height: 95px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  display: block !important;
  transition: height 0.25s ease !important;
}

.site-header.scrolled .brand-logo-img {
  height: 68px !important;
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-shrink: 0 !important;
}

.mobile-nav-toggle {
  display: none !important;
}

/* ==========================================================================
   MOBILE BREAKPOINTS (Tablets & Phones <= 1200px)
   ========================================================================== */
@media (max-width: 1200px) {
  .desktop-nav, .header-actions .btn, .header-actions a.btn {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    background: #0040A8 !important;
    color: #FFFFFF !important;
    border: none !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 64, 168, 0.25) !important;
    line-height: 1 !important;
    padding: 0 !important;
  }
}

@media (max-width: 992px) {
  .top-utility-bar {
    height: 32px !important;
    font-size: 0.75rem !important;
    padding: 0 0.5rem !important;
  }

  .top-utility-inner {
    justify-content: space-between !important;
    gap: 0.5rem !important;
  }

  .top-utility-bar .top-bar-brochure-btn,
  .top-utility-bar .top-bar-divider-2 {
    display: none !important;
  }

  .site-header {
    top: 32px !important;
    height: 64px !important;
  }

  .site-header.scrolled {
    height: 64px !important;
  }

  .brand-logo-img {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 160px !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .header-actions .btn,
  .header-actions a.btn {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    background: #0040A8 !important;
    color: #FFFFFF !important;
    border: none !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 64, 168, 0.25) !important;
    line-height: 1 !important;
    padding: 0 !important;
  }

  .hero-section,
  .hero-slider-section,
  .page-hero,
  .tech-hero,
  body > section:first-of-type,
  body > main > section:first-of-type {
    padding-top: 140px !important;
  }
}

@media (max-width: 480px) {
  .top-utility-bar {
    height: 30px !important;
    font-size: 0.7rem !important;
  }

  .site-header {
    top: 30px !important;
    height: 60px !important;
  }

  .brand-logo-img {
    height: 44px !important;
    max-height: 44px !important;
    max-width: 145px !important;
  }

  .mobile-nav-toggle {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.3rem !important;
  }

  .top-bar-email-full {
    display: none !important;
  }
  .top-bar-email-short {
    display: inline !important;
  }

  .hero-section,
  .hero-slider-section,
  .page-hero,
  .tech-hero,
  body > section:first-of-type,
  body > main > section:first-of-type {
    padding-top: 130px !important;
  }
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER & BACKDROP
   ========================================================================== */
.mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 300px !important;
  max-width: 85vw !important;
  height: 100vh !important;
  background: #FFFFFF !important;
  box-shadow: -8px 0 35px rgba(15, 23, 42, 0.3) !important;
  z-index: 99999 !important;
  transform: translateX(100%) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.mobile-drawer.active {
  transform: translateX(0%) !important;
}

.drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.drawer-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.mobile-drawer-content {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
}

.mobile-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
}

.mobile-close-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}

.mobile-close-btn:hover {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  border-color: #EF4444 !important;
}

.mobile-nav-links {
  padding: 1rem 1.25rem !important;
  overflow-y: auto !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
}

.mobile-nav-item {
  width: 100% !important;
}

.mobile-nav-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1rem !important;
  color: #0F172A !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.mobile-nav-title:hover,
.mobile-nav-title.active {
  background: var(--cb-blue-light, #EFF6FF) !important;
  color: var(--cb-blue-primary, #0040A8) !important;
}

.mobile-drawer-footer {
  padding: 1.25rem 1.5rem !important;
  border-top: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.mobile-drawer-contact {
  font-size: 0.825rem !important;
  color: #64748B !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  margin-top: 0.35rem !important;
}


/* ==========================================================================
   UNIVERSAL RESPONSIVE WEB COMPATIBILITY MASTER SUITE
   ========================================================================== */

/* Fluid container & global viewport safety */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, video, iframe, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Base typography responsive scaling */
h1, .h1 { font-size: clamp(2rem, 5vw, 3.25rem) !important; line-height: 1.15 !important; }
h2, .h2, .section-heading { font-size: clamp(1.65rem, 4vw, 2.35rem) !important; line-height: 1.2 !important; }
h3, .h3 { font-size: clamp(1.25rem, 3vw, 1.75rem) !important; line-height: 1.25 !important; }
h4, .h4 { font-size: clamp(1.05rem, 2.5vw, 1.35rem) !important; line-height: 1.3 !important; }
.section-subheading { font-size: clamp(0.95rem, 2vw, 1.15rem) !important; }

/* Responsive Grid Systems */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Category & Product Cards Responsive Grids */
.category-grid,
.products-grid,
.products-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 1.5rem !important;
}

.category-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: var(--cb-white, #FFFFFF) !important;
  border: 1px solid var(--cb-slate-100, #E2E8F0) !important;
  border-radius: var(--radius-md, 12px) !important;
  overflow: hidden !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.category-card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 1.25rem !important;
}

.category-dual-btns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.5rem !important;
  margin-top: auto !important;
}

.category-dual-btns .btn {
  min-height: 40px !important;
  padding: 0.5rem 0.65rem !important;
  font-size: 0.825rem !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Hero Slider Responsive Polish */
.hero-slider-section {
  position: relative !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow: hidden !important;
}

.hero-banner-img-wrapper {
  position: relative !important;
  width: 100% !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  line-height: 0 !important;
  background: #0B192C !important;
}

.hero-banner-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}


/* Hero Slider Action Bar - Center Aligned */
.hero-banner-action-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1rem auto 0 auto !important;
  max-width: 860px !important;
  gap: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.hero-banner-action-bar > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.35rem !important;
}

.hero-banner-action-bar > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  flex-wrap: wrap !important;
}

.old-hero-action-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 1rem 1.5rem !important;
  margin-top: 1rem !important;
  gap: 1rem !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

/* Modals Responsive */
#categoryModal > div,
#thankYouModal > div {
  max-width: 94vw !important;
  max-height: 88vh !important;
  max-height: 88dvh !important;
  box-sizing: border-box !important;
}

/* Form controls - 16px font to prevent iOS auto-zoom */
input, select, textarea, .form-input, .form-control {
  font-size: 16px !important;
  max-width: 100% !important;
}

/* ==========================================================================
   BREAKPOINT: TABLET & MOBILE (<= 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .about-standard-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .about-image-card {
    order: -1 !important;
    max-height: 320px !important;
  }

  .tech-grid,
  .triosome-grid,
  .microbead-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  .process-pipeline {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem !important;
  }

  .rd-pipeline-grid,
  .rd-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .rd-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

/* ==========================================================================
   BREAKPOINT: MOBILE PHONES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .section-padding {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  
/* Hero Slider Action Bar - Center Aligned */
.hero-banner-action-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1rem auto 0 auto !important;
  max-width: 860px !important;
  gap: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.hero-banner-action-bar > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.35rem !important;
}

.hero-banner-action-bar > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  flex-wrap: wrap !important;
}

.old-hero-action-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    padding: 1rem !important;
    gap: 0.85rem !important;
  }

  .hero-banner-action-bar > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .hero-banner-action-bar .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .slider-arrow-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .slider-arrow-prev { left: 0.5rem !important; }
  .slider-arrow-next { right: 0.5rem !important; }

  .category-grid,
  .products-grid,
  .products-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .category-dual-btns { grid-template-columns: 1fr !important; }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .form-group.full-width {
    grid-column: span 1 !important;
  }

  .process-pipeline {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .rd-pipeline-grid,
  .rd-pillars-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-form-wrapper,
  .scientific-card-graphic {
    padding: 1.5rem 1.25rem !important;
  }
}

/* ==========================================================================
   BREAKPOINT: COMPACT MOBILE (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .category-dual-btns {
    grid-template-columns: 1fr !important;
  }

  .category-dual-btns .btn {
    min-height: 44px !important;
  }

  .process-pipeline {
    grid-template-columns: 1fr !important;
  }

  .rd-gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .slider-arrow-btn {
    display: none !important; /* Touch swipe or tap actions preferred */
  }

  .section-tag {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.75rem !important;
  }
}


/* ==========================================================================
   HERO BANNER SLIDER (CLEAN ZERO-BUTTON UI: AUTO-PLAY & TOUCH SWIPE ONLY)
   ========================================================================== */
.hero-slider-section {
  position: relative !important;
    gap: 2rem !important;
  }

  .about-image-card {
    order: -1 !important;
    max-height: 320px !important;
  }

  .tech-grid,
  .triosome-grid,
  .microbead-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  .process-pipeline {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem !important;
  }

  .rd-pipeline-grid,
  .rd-pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .rd-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

/* ==========================================================================
   BREAKPOINT: MOBILE PHONES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .section-padding {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  
/* Hero Slider Action Bar - Center Aligned */
.hero-banner-action-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1rem auto 0 auto !important;
  max-width: 860px !important;
  gap: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.hero-banner-action-bar > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.35rem !important;
}

.hero-banner-action-bar > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.85rem !important;
  flex-wrap: wrap !important;
}

.old-hero-action-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    padding: 1rem !important;
    gap: 0.85rem !important;
  }

  .hero-banner-action-bar > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .hero-banner-action-bar .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .slider-arrow-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
  }

  .slider-arrow-prev { left: 0.5rem !important; }
  .slider-arrow-next { right: 0.5rem !important; }

  .category-grid,
  .products-grid,
  .products-cards-grid {
    grid-template-columns: 1fr !important;
  }

  .category-dual-btns { grid-template-columns: 1fr !important; }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .form-group.full-width {
    grid-column: span 1 !important;
  }

  .process-pipeline {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .rd-pipeline-grid,
  .rd-pillars-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-form-wrapper,
  .scientific-card-graphic {
    padding: 1.5rem 1.25rem !important;
  }
}

/* ==========================================================================
   BREAKPOINT: COMPACT MOBILE (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .category-dual-btns {
    grid-template-columns: 1fr !important;
  }

  .category-dual-btns .btn {
    min-height: 44px !important;
  }

  .process-pipeline {
    grid-template-columns: 1fr !important;
  }

  .rd-gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .slider-arrow-btn {
    display: none !important; /* Touch swipe or tap actions preferred */
  }

  .section-tag {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.75rem !important;
  }
}


/* ==========================================================================
   HERO BANNER SLIDER (CLEAN ZERO-BUTTON UI: AUTO-PLAY & TOUCH SWIPE ONLY)
   ========================================================================== */
.hero-slider-section {
  position: relative !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow: hidden !important;
}

.hero-slider-viewport {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
}

.hero-slider-track {
  display: flex !important;
  width: 500% !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-slide-pane {
  width: 20% !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  min-height: auto !important;
}

/* PERMANENTLY HIDE ALL SLIDER ARROWS AND DOTS ON DESKTOP & MOBILE */
.slider-arrow-btn,
.slider-arrow-prev,
.slider-arrow-next,
.hero-slider-nav-bar,
.hero-slider-dots,
.slider-dot-pill {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.product-carousel-slide {
  width: calc((100% - 3rem) / 3) !important;
  max-width: none !important;
}
@media (max-width: 768px) {
  .product-carousel-slide {
    width: 85% !important;
  }
}

/* R&D Lab Carousel - 3 slides visible, infinite loop */
.rd-carousel-slide {
  width: calc((100% - 3rem) / 3) !important;
  max-width: none !important;
}
@media (max-width: 900px) {
  .rd-carousel-slide {
    width: 85% !important;
  }
}

/* FOOTER LOGO */
.footer-logo {
  height: 80px !important;
  width: auto !important;
  object-fit: contain !important;
  margin-bottom: 1rem;
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 20px 12px 14px;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px 10px 12px;
    font-size: 0.85rem;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* WHATSAPP PRODUCT INQUIRY BUTTON */
.btn-whatsapp-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  background: #E8F9EE;
  color: #1DBF5A;
  border: 1px solid #1DBF5A;
  font-family: var(--font-heading, sans-serif);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-whatsapp-inquiry:hover {
  background: #D1F4DE;
  transform: translateY(-1px);
}
.btn-whatsapp-inquiry svg {
  width: 18px;
  height: 18px;
  fill: #1DBF5A;
}


