/* ============================================================
   MOLSYNS RESEARCH — Premium Design System 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand */
  --primary: #1667b8;
  --primary-dark: #0d4f96;
  --primary-light: #eaf2fb;
  --primary-glow: rgba(22, 103, 184, .18);
  --accent: #06c1de;
  --accent-2: #7c3aed;

  /* Neutrals */
  --navy: #0a1628;
  --navy-mid: #132240;
  --navy-light: #1e3460;
  --text: #1a2233;
  --text-muted: #5e6e8c;
  --text-subtle: #94a3b8;
  --border: #dde6f0;
  --border-strong: #c4d4e8;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-muted: #eef2f8;
  --success: #059669;
  --success-light: #d1fae5;

  /* Effects */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-xs: 0 1px 2px rgba(10, 22, 40, .05);
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, .07);
  --shadow: 0 4px 20px rgba(22, 103, 184, .10);
  --shadow-md: 0 8px 32px rgba(22, 103, 184, .13);
  --shadow-lg: 0 16px 48px rgba(22, 103, 184, .16);
  --shadow-xl: 0 24px 64px rgba(22, 103, 184, .20);
  --transition: all .22s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: all .45s cubic-bezier(.4, 0, .2, 1);
}

/* ================================================================
   BASE
================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

label.error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 3px;
}

/* ================================================================
   TYPOGRAPHY
================================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.015em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -.01em;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

h5 {
  font-size: .9375rem;
  font-weight: 600;
}

h6 {
  font-size: .875rem;
  font-weight: 600;
}

.display-hero {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.text-primary {
  color: var(--primary) !important;
}

.text-navy {
  color: var(--navy) !important;
}

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

.text-subtle {
  color: var(--text-subtle);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   UTILITY
================================================================ */
.section-py {
  padding: 96px 0;
  background: #fff;
}

.section-py-sm {
  padding: 64px 0;
  background: #fff;
}

.section-py-xs {
  padding: 40px 0;
}

.bg-soft {
  background: var(--bg-soft);
}

.bg-muted {
  background: var(--bg-muted);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-mod {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.shadow-card {
  box-shadow: var(--shadow);
}

.border-mod {
  border: 1.5px solid var(--border);
}

/* ================================================================
   PILLS / LABELS
================================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.pill-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.pill-white {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}

.pill-outline {
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: transparent;
}

.pill-success {
  background: var(--success-light);
  color: var(--success);
}

/* ================================================================
   SPINNER
================================================================ */
#spinner {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}

#spinner.show {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease;
}

.spinner-ring {
  width: 44px;
  height: 44px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

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

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: var(--transition);
}

.btn:hover::after {
  background: rgba(255, 255, 255, .08);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-primary-light {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--primary);
  box-shadow: none;
}

.btn-primary-light:hover {
  background: #d5e8f8;
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-mid);
}

.btn-sm {
  padding: 7px 18px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 8px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
}

.btn-icon-sm {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 6px;
}

/* ================================================================
   TOPBAR
================================================================ */
.topbar {
  background: var(--navy);
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition: opacity .3s ease, visibility .3s ease;
}

.topbar.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.topbar,
.topbar span {
  color: rgba(255, 255, 255, .65);
}

.topbar a {
  color: rgba(255, 255, 255, .65);
}

.topbar a:hover {
  color: #fff;
}

.topbar i {
  color: var(--accent);
  margin-right: 5px;
}

.topbar .social-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition);
}

.topbar .social-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ================================================================
   NAVBAR
================================================================ */
.site-navbar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 1000;
  top: 0;
  /* JS sets this to topbar height on xl */
  background: rgba(10, 22, 40, .94);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s ease, box-shadow .3s ease, top .3s ease;
}

.site-navbar.scrolled {
  top: 0;
  background: rgba(10, 22, 40, .97);
  box-shadow: 0 4px 25px rgba(0, 0, 0, .35);
  border-bottom-color: rgba(255, 255, 255, .12);
}

/* Logo */
.site-navbar .navbar-brand {
  padding: 12px 0;
  margin-right: 0;
  display: flex;
  align-items: center;
}

.main-header-logo {
  height: 46px !important;
  width: auto !important;
  max-width: 190px !important;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.25s ease, filter 0.25s ease;
  display: block;
}

.main-header-logo:hover {
  transform: scale(1.02);
}

@media (max-width: 991.98px) {
  .main-header-logo {
    height: 40px !important;
    max-width: 150px !important;
  }
}

/* Nav links */
.site-navbar .nav-link,
.site-navbar.scrolled .nav-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .88) !important;
  padding: 20px 14px !important;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

@media (max-width: 1200px) {

  .site-navbar .nav-link,
  .site-navbar.scrolled .nav-link {
    padding: 20px 9px !important;
    font-size: 13px;
  }
}

.site-navbar .nav-link:hover,
.site-navbar.scrolled .nav-link:hover {
  color: #fff !important;
}

.site-navbar .nav-item.active .nav-link,
.site-navbar.scrolled .nav-item.active .nav-link {
  color: var(--accent) !important;
}

/* Active underline indicator */
.site-navbar .nav-link::before,
.site-navbar.scrolled .nav-link::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.site-navbar .nav-link:hover::before,
.site-navbar .nav-item.active .nav-link::before,
.site-navbar.scrolled .nav-link:hover::before,
.site-navbar.scrolled .nav-item.active .nav-link::before {
  width: calc(100% - 20px);
}

/* Dropdown */
.site-navbar .dropdown-toggle::after {
  margin-left: 5px;
  opacity: .6;
}

.site-navbar .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  margin-top: 4px;
  min-width: 240px;
  animation: dropIn .2s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.site-navbar .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.site-navbar .dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.site-navbar .dropdown-item .di-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: var(--transition);
}

.site-navbar .dropdown-item:hover .di-icon {
  background: var(--primary);
  color: #fff;
}

.site-navbar .dropdown-divider {
  border-color: var(--border);
  margin: 4px 0;
}

/* Toggler */
.site-navbar .navbar-toggler,
.site-navbar.scrolled .navbar-toggler {
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

/* CTA button in nav */
.nav-cta,
.site-navbar:not(.scrolled) .nav-cta,
.site-navbar.scrolled .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  margin-left: 10px;
  box-shadow: 0 3px 12px rgba(22, 103, 184, .35);
  border: 1px solid rgba(255, 255, 255, .15);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover,
.site-navbar:not(.scrolled) .nav-cta:hover,
.site-navbar.scrolled .nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-1px);
  border-color: var(--accent);
}

/* ================================================================
   SEARCH
================================================================ */
.navbar-search {
  position: relative;
  margin-left: 24px;
  margin-right: 16px;
  flex-shrink: 0;
}

.navbar-search input,
.site-navbar.scrolled .navbar-search input {
  width: 270px;
  height: 40px;
  background: rgba(255, 255, 255, .10);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  padding: 0 46px 0 14px;
  box-sizing: border-box;
  transition: var(--transition);
}

@media (max-width: 1200px) {

  .navbar-search input,
  .site-navbar.scrolled .navbar-search input {
    width: 210px;
  }
}

.navbar-search input::placeholder,
.site-navbar.scrolled .navbar-search input::placeholder {
  color: rgba(255, 255, 255, .55);
}

.navbar-search input:focus,
.site-navbar.scrolled .navbar-search input:focus {
  outline: none;
  background: rgba(255, 255, 255, .16);
  border-color: var(--primary);
}

.navbar-search .search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 40px;
  background: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 0 8px 8px 0;
  color: #fff;
  cursor: pointer;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
  box-sizing: border-box;
}

.navbar-search .search-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.search_content_box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  z-index: 300;
  max-height: 420px;
  overflow-y: auto;
  animation: dropIn .2s ease;
}

.ajaxsearch-loader {
  padding: 16px;
  text-align: center;
}

.list-unstyled {
  list-style: none;
  padding: 6px;
}

.list-unstyled li {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.list-unstyled li:hover {
  background: var(--primary-light);
}

.text-strong {
  font-weight: 700;
  color: var(--navy);
}

.list-unstyled li:hover .text-strong {
  color: var(--primary);
}

/* Mobile search bar — fixed, positioned below navbar via JS */
.mobile-search-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 998;
  top: 70px;
  /* JS overrides to nav bottom */
  box-shadow: 0 2px 8px rgba(10, 22, 40, .06);
}

.mobile-search-bar .form-control {
  border-radius: 8px 0 0 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  height: 42px;
  font-size: 13px;
}

.mobile-search-bar .btn {
  border-radius: 0 8px 8px 0;
  height: 42px;
  padding: 0 16px;
}

/* Backdrop */
.backtrap-search {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 22, 40, .55);
  backdrop-filter: blur(3px);
  display: none;
}

/* ================================================================
   MOBILE DRAWER
================================================================ */
.menu-wrapper {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 22, 40, .65);
  backdrop-filter: blur(5px);
  display: none;
}

.side-mobile-menu {
  position: fixed;
  top: 0;
  left: -110%;
  bottom: 0;
  background: #fff;
  z-index: 9999;
  width: min(300px, 85%);
  transition: left .32s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.side-mobile-menu.add-left-menu {
  left: 0;
}

.side-mobile-menu .mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.side-mobile-menu .mob-menu-head img {
  height: 34px;
}

.side-mobile-menu .mob-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
}

.side-mobile-menu .mob-close:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

.side-mobile-menu .mob-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--bg-soft);
  transition: var(--transition);
}

.side-mobile-menu .mob-nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.side-mobile-menu .mob-nav-link i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.side-mobile-menu .mob-cta {
  padding: 16px 20px;
}

/* ================================================================
   HERO
================================================================ */

/* ================================================================
   HERO LIGHT — full-height, impactful two-column
================================================================ */
.hero-light {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 100px);
}

.hl-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hl-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 55%, #f8fbff 100%);
  pointer-events: none;
}

.hl-bg-diagonal {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(160deg, #eaf4ff 0%, #f5f9ff 60%, transparent 100%);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.hl-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hl-blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(22, 103, 184, .07);
  top: -200px;
  right: -150px;
}

.hl-blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(6, 193, 222, .05);
  bottom: -100px;
  left: -100px;
}

.hl-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(22, 103, 184, .055) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hl-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex: 1;
  padding-top: 80px;
  padding-bottom: 60px;
  min-height: calc(100vh - 200px);
}

.hl-content {
  flex: 1;
  max-width: 540px;
}

.hl-cert-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hl-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(22, 103, 184, .15);
  padding: 5px 13px;
  border-radius: 999px;
}

.hl-cert-badge i {
  font-size: 9px;
}

.hl-heading {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--navy);
  margin-bottom: 24px;
}

.hl-heading-blue {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hl-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
}

.hl-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hl-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 24px var(--primary-glow);
  transition: background .2s, transform .2s, box-shadow .2s;
}

.hl-btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--primary-glow);
}

.hl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: border-color .2s, box-shadow .2s, transform .2s, color .2s;
}

.hl-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.hl-trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hl-trust-row span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hl-trust-row i {
  color: var(--primary);
  font-size: 11px;
}

/* Illustration + scene */
.hl-illustration {
  flex-shrink: 0;
  width: 520px;
  position: relative;
}

.hl-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hl-scene {
  position: relative;
  width: 520px;
  height: 520px;
}

.hl-scene-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 103, 184, .08) 0%, rgba(6, 193, 222, .04) 50%, transparent 75%);
}

/* Flask */
.hl-flask {
  position: absolute;
  left: 80px;
  top: 80px;
  animation: hl-float 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(22, 103, 184, .18));
}

.hl-flask-neck {
  width: 44px;
  height: 60px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(220, 237, 255, .8) 100%);
  border: 2px solid rgba(22, 103, 184, .2);
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  box-shadow: inset 2px 0 8px rgba(255, 255, 255, .6);
}

.hl-flask-body {
  position: relative;
  width: 150px;
  height: 140px;
  margin-top: -2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9) 0%, rgba(210, 232, 255, .65) 100%);
  border: 2px solid rgba(22, 103, 184, .18);
  border-radius: 10px 10px 75px 75px / 10px 10px 70px 70px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(22, 103, 184, .12), inset 0 2px 0 rgba(255, 255, 255, .9);
}

.hl-flask-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(6, 193, 222, .55) 0%, rgba(22, 103, 184, .8) 100%);
  clip-path: polygon(0 12%, 100% 0%, 100% 100%, 0% 100%);
  animation: hl-sway 3.5s ease-in-out infinite;
}

.hl-flask-shine {
  position: absolute;
  top: 12px;
  left: 16px;
  width: 12px;
  height: 70px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, transparent 100%);
  border-radius: 6px;
}

.hl-flask-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  animation: hl-bub 3s ease-in-out infinite;
}

.b1 {
  width: 10px;
  height: 10px;
  bottom: 60px;
  left: 30px;
}

.b2 {
  width: 7px;
  height: 7px;
  bottom: 80px;
  right: 35px;
  animation-delay: .9s;
}

.b3 {
  width: 5px;
  height: 5px;
  bottom: 95px;
  left: 60px;
  animation-delay: 1.6s;
}

.hl-flask-shadow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 16px;
  border-radius: 50%;
  background: rgba(22, 103, 184, .08);
  filter: blur(8px);
}

/* Vials */
.hl-vials {
  position: absolute;
  right: 50px;
  top: 60px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  animation: hl-float 4.5s ease-in-out infinite .5s;
  filter: drop-shadow(0 14px 24px rgba(22, 103, 184, .14));
}

.hl-vial {
  display: flex;
  flex-direction: column;
}

.hl-vial-cap {
  border-radius: 4px 4px 0 0;
  margin: 0 auto;
}

.v1 .hl-vial-cap {
  width: 28px;
  height: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 3px 10px rgba(22, 103, 184, .45);
}

.v2 .hl-vial-cap {
  width: 24px;
  height: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #0d9ab8 100%);
}

.v3 .hl-vial-cap {
  width: 22px;
  height: 13px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hl-vial-body {
  position: relative;
  border: 2px solid rgba(22, 103, 184, .18);
  background: linear-gradient(135deg, rgba(255, 255, 255, .92) 0%, rgba(220, 237, 255, .7) 100%);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(22, 103, 184, .1), inset 2px 0 8px rgba(255, 255, 255, .7);
}

.v1 .hl-vial-body {
  width: 28px;
  height: 110px;
}

.v2 .hl-vial-body {
  width: 24px;
  height: 86px;
}

.v3 .hl-vial-body {
  width: 22px;
  height: 68px;
}

.hl-vial-liq {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(6, 193, 222, .5) 0%, rgba(22, 103, 184, .8) 100%);
  animation: hl-sway 4s ease-in-out infinite;
}

.liq-cyan {
  background: linear-gradient(180deg, rgba(22, 103, 184, .4) 0%, rgba(6, 193, 222, .75) 100%);
}

.v1 .hl-vial-liq {
  height: 62%;
}

.v2 .hl-vial-liq {
  height: 47%;
}

.v3 .hl-vial-liq {
  height: 38%;
}

.hl-vial-shine {
  position: absolute;
  top: 5px;
  left: 4px;
  width: 5px;
  height: 80%;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .4) 0%, transparent 100%);
}

/* Molecule */
.hl-mol {
  position: absolute;
  bottom: 80px;
  right: 70px;
  width: 110px;
  height: 110px;
  animation: hl-spin 14s linear infinite;
}

.hl-mol-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.r1 {
  width: 80px;
  height: 80px;
  border: 1.5px solid rgba(22, 103, 184, .2);
}

.r2 {
  width: 108px;
  height: 108px;
  border: 1px dashed rgba(6, 193, 222, .2);
}

.hl-mol-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle, #68b8f8 0%, var(--primary) 100%);
  box-shadow: 0 0 20px rgba(22, 103, 184, .5), 0 0 40px rgba(22, 103, 184, .2);
}

.hl-mol-sat {
  position: absolute;
  border-radius: 50%;
}

.s1 {
  width: 16px;
  height: 16px;
  top: -8px;
  left: 47px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(6, 193, 222, .6);
}

.s2 {
  width: 14px;
  height: 14px;
  bottom: -6px;
  left: 20px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(22, 103, 184, .5);
}

.s3 {
  width: 12px;
  height: 12px;
  top: 44px;
  right: -4px;
  background: rgba(6, 193, 222, .8);
}

/* Info cards */
.hl-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 8px 28px rgba(22, 103, 184, .1);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.hl-card i {
  color: var(--primary);
  font-size: 14px;
}

.hl-card-coa {
  bottom: 170px;
  left: 20px;
  animation: hl-float 5s ease-in-out infinite .8s;
}

.hl-card-hplc {
  top: 85px;
  right: 20px;
  animation: hl-float 5s ease-in-out infinite 1.4s;
}

/* Dots */
.hl-dot {
  position: absolute;
  border-radius: 50%;
  animation: hl-float 5s ease-in-out infinite;
}

.d1 {
  width: 14px;
  height: 14px;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  top: 55px;
  right: 155px;
}

.d2 {
  width: 10px;
  height: 10px;
  background: rgba(6, 193, 222, .25);
  border: 2px solid var(--accent);
  top: 220px;
  left: 55px;
  animation-delay: 1s;
}

.d3 {
  width: 8px;
  height: 8px;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  bottom: 60px;
  right: 185px;
  animation-delay: 2s;
}

.d4 {
  width: 12px;
  height: 12px;
  background: rgba(6, 193, 222, .2);
  border: 1.5px solid var(--accent);
  bottom: 140px;
  left: 35px;
  animation-delay: .5s;
}

/* Animations */
@keyframes hl-float {

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

  50% {
    transform: translateY(-14px)
  }
}

@keyframes hl-sway {

  0%,
  100% {
    clip-path: polygon(0 12%, 100% 0%, 100% 100%, 0% 100%)
  }

  50% {
    clip-path: polygon(0 0%, 100% 12%, 100% 100%, 0% 100%)
  }
}

@keyframes hl-bub {

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

  50% {
    transform: translateY(-10px);
    opacity: .9
  }
}

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

/* Stats strip */
.hl-stats-strip {
  position: relative;
  z-index: 1;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(22, 103, 184, .04);
  padding: 28px 0;
}

.hl-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hl-stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 44px;
}

.hl-stat-block i {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 6px;
}

.hl-stat-block strong {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.03em;
  line-height: 1;
}

.hl-stat-block span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.hl-stat-div {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .hl-illustration {
    width: 440px;
  }

  .hl-scene {
    width: 440px;
    height: 440px;
  }
}

@media (max-width: 900px) {
  .hl-container {
    flex-direction: column-reverse;
    padding-top: 80px;
    text-align: center;
    min-height: auto;
  }

  .hl-content {
    max-width: 100%;
  }

  .hl-cert-strip,
  .hl-actions,
  .hl-trust-row {
    justify-content: center;
  }

  .hl-sub {
    margin: 0 auto 36px;
  }

  .hl-illustration {
    width: 360px;
  }

  .hl-scene {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 500px) {
  .hl-heading {
    font-size: 2.4rem;
  }

  .hl-illustration {
    width: 300px;
  }

  .hl-scene {
    width: 300px;
    height: 300px;
  }

  .hl-stat-block {
    padding: 0 20px;
  }

  .hl-stat-block strong {
    font-size: 1.4rem;
  }
}

/* keep old carousel classes for safety */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
}

.hero-bg {
  width: 100%;
  height: 92vh;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(10, 22, 40, .85) 0%, rgba(22, 103, 184, .45) 100%);
}

.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px 40px;
}

.hero-caption h1 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.03em;
}

.hero-caption .hero-sub {
  color: rgba(255, 255, 255, .8);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .2);
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
  opacity: 1;
  transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.carousel-indicators {
  bottom: 28px;
  gap: 6px;
  margin: 0;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: none;
  transition: var(--transition);
}

.carousel-indicators .active {
  width: 28px;
  border-radius: 4px;
  background: #fff;
}

/* ================================================================
   HOME HERO CAROUSEL — clean, responsive, no-overlap
================================================================ */

/* Prevent horizontal overflow (fixes white line on right) */
body,
html {
  overflow-x: hidden;
}

.home-hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  width: 100%;
  max-width: 100vw;
}

/* Each carousel item — the home-hero section fills its height */
.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 991.98px) {
  .home-hero {
    min-height: 85vh;
  }
}

@media (max-width: 575.98px) {
  .home-hero {
    min-height: 80vh;
  }
}

/* Background image */
.hh-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Overlay gradient — stronger on mobile for readability */
.hh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(8, 18, 36, .90) 0%,
      rgba(10, 25, 55, .80) 45%,
      rgba(16, 60, 120, .55) 100%);
}

@media (max-width: 767.98px) {
  .hh-overlay {
    background: linear-gradient(160deg,
        rgba(8, 18, 36, .95) 0%,
        rgba(10, 25, 55, .92) 60%,
        rgba(16, 60, 120, .75) 100%);
  }
}

/* Content wrapper */
.hh-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px 0 100px;
}

@media (max-width: 991.98px) {
  .hh-content {
    padding: 130px 0 80px;
  }
}

@media (max-width: 575.98px) {
  .hh-content {
    padding: 110px 0 70px;
  }
}

/* Cert badges */
.hh-cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

@media (max-width: 575.98px) {
  .hh-cert-strip {
    gap: 6px;
    margin-bottom: 16px;
  }
}

.hh-cert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}

@media (max-width: 575.98px) {
  .hh-cert {
    font-size: 11px;
    padding: 5px 13px;
  }
}

.hh-cert i {
  color: var(--accent);
  font-size: 11px;
}

/* Heading */
.hh-heading {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}

@media (max-width: 767.98px) {
  .hh-heading {
    font-size: clamp(1.75rem, 7.5vw, 2.4rem);
  }
}

@media (max-width: 400px) {
  .hh-heading {
    font-size: 1.65rem;
  }
}

.hh-heading-accent {
  background: linear-gradient(90deg, #2ca8ff 0%, #68d4f8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub text */
.hh-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .80);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 520px;
}

@media (max-width: 767.98px) {
  .hh-sub {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: 24px;
  }
}

@media (max-width: 400px) {
  .hh-sub {
    font-size: 0.85rem;
  }
}

/* CTA Buttons */
.hh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 575.98px) {
  .hh-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hh-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Stats box — hide on mobile */
.hh-stats-box {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 220px;
  margin-left: auto;
}

@media (max-width: 991.98px) {
  .hh-stats-box {
    display: none;
  }
}

.hh-stat {
  text-align: center;
  padding: 12px 0;
  width: 100%;
}

.hh-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}

.hh-stat-num sup {
  font-size: 1.1rem;
}

.hh-stat-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

.hh-stat-div {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, .12);
}

/* Dot Indicators */
.custom-hero-indicators {
  bottom: 20px;
  margin-bottom: 0;
  z-index: 5;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.custom-hero-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .40);
  border: 2px solid rgba(255, 255, 255, .25);
  opacity: 1;
  transition: all 0.35s ease;
  margin: 0 3px;
}

.custom-hero-indicators .active {
  width: 28px;
  border-radius: 8px;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(44, 168, 255, .5);
}

/* Slide-in text animations */
.carousel-item.active .hh-cert-strip {
  animation: heroFadeUp 0.5s ease forwards;
}

.carousel-item.active .hh-heading {
  animation: heroFadeUp 0.65s 0.1s ease both;
}

.carousel-item.active .hh-sub {
  animation: heroFadeUp 0.65s 0.2s ease both;
}

.carousel-item.active .hh-actions {}


/* ================================================================
   TRUST BAR
================================================================ */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(10, 22, 40, .06);
  position: relative;
  z-index: 3;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 20px 0;
  gap: 16px;
}

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

.trust-item i {
  color: var(--accent);
  font-size: 18px;
  background: rgba(22, 103, 184, .08);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item strong {
  color: var(--navy);
  font-weight: 700;
}

.trust-div {
  width: 1px;
  height: 30px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .trust-div {
    display: none;
  }

  .trust-bar-inner {
    justify-content: flex-start;
    gap: 20px;
  }
}

/* ================================================================
   ABOUT CHECK LIST
================================================================ */
.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.acl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
}

.acl-item i {
  color: var(--primary);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .hh-stats-box {
    display: none;
  }
}

@media (max-width: 767px) {
  .hh-content {
    padding: 175px 0 80px;
  }

  .hh-heading {
    font-size: 2rem;
  }

  .trust-item {
    padding: 6px 14px;
  }

  .trust-div {
    display: none;
  }
}

/* ================================================================
   PAGE HERO / HEADER BANNER
================================================================ */
.page-hero {
  display: none !important;
}

body.inner-page #page-content {
  padding-top: 115px !important;
}

@media (max-width: 1199px) {
  body.inner-page #page-content {
    padding-top: 80px !important;
  }
}

@media (max-width: 991px) {
  body.inner-page #page-content {
    padding-top: 125px !important;
  }
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, rgba(6, 193, 222, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(22, 103, 184, 0.1) 0%, transparent 50%);
  filter: blur(40px);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(10, 22, 40, .04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  color: var(--navy);
  margin-bottom: 4px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-hero .breadcrumb {
  justify-content: center;
  background: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.page-hero .breadcrumb-item a:hover {
  color: var(--primary);
}

.page-hero .breadcrumb-item.active {
  color: var(--navy);
  font-weight: 600;
}

.page-hero .breadcrumb-item+.breadcrumb-item::before {
  color: var(--text-subtle);
  content: '/';
  padding: 0 8px;
}

/* ================================================================
   STATS STRIP
================================================================ */
.stats-strip {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin-top: -56px;
  position: relative;
  z-index: 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--primary-light);
}

.stat-item+.stat-item {
  border-left: 1px solid var(--border);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 18px;
  transition: var(--transition);
}

.stat-item:hover .stat-icon {
  background: var(--primary);
  color: #fff;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}

.stat-num span {
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ================================================================
   SECTION HEADER
================================================================ */
.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  margin-top: 10px;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.75;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   FEATURE CARDS
================================================================ */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-slow);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

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

.feature-card:hover::before {
  opacity: 1;
}

.feature-card>* {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.feature-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.feature-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0;
  transition: var(--transition);
  transform: translateX(-4px);
}

.feature-card:hover .learn-more {
  opacity: 1;
  transform: none;
}

/* ================================================================
   PRODUCT CARDS
================================================================ */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  display: block;
  position: relative;
}

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

.product-card .product-img {
  background: var(--bg-soft);
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card .product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 103, 184, .06) 0%, transparent 50%);
}

.product-card .product-img img {
  max-height: 155px;
  object-fit: contain;
  transition: var(--transition-slow);
  position: relative;
  z-index: 1;
}

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

.product-card .product-body {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
}

.product-card .product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--bg-soft);
}

.product-card .product-arrow {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition);
}

.product-card:hover .product-arrow {
  background: var(--primary);
  color: #fff;
}

/* Owl carousel overrides */
.owl-carousel .owl-stage-outer {
  border-radius: var(--radius-lg);
}

.owl-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.owl-dot span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  display: block;
  transition: var(--transition);
}

.owl-dot.active span {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ================================================================
   ABOUT SECTION
================================================================ */
.about-image-wrap {
  position: relative;
}

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

.about-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.about-badge .badge-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.02em;
}

.about-badge .badge-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 2px;
}

.about-badge-1 {
  bottom: 28px;
  right: -20px;
  min-width: 130px;
}

.about-badge-2 {
  top: 32px;
  left: -20px;
  min-width: 130px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  padding: 6px 0;
}

.check-list li i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 12px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 16px 24px;
  border: 1px solid rgba(22, 103, 184, .15);
}

.contact-pill .cp-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.contact-pill .cp-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-pill .cp-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

/* ================================================================
   CERTIFICATE CARDS
================================================================ */
.cert-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: var(--transition-slow);
  text-align: center;
  position: relative;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

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

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

.cert-card .cert-img {
  background: var(--bg-soft);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: var(--transition);
}

.cert-card:hover .cert-img {
  background: var(--primary-light);
}

.cert-card .cert-img img {
  max-height: 160px;
  object-fit: contain;
}

.cert-card .cert-label {
  padding: 16px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  border-top: 1px solid var(--border);
}

/* ================================================================
   CTA / QUOTE SECTION
================================================================ */
.cta-wrap {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.cta-wrap::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 103, 184, .3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-wrap::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 193, 222, .12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-wrap>* {
  position: relative;
  z-index: 1;
}

.cta-label {
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}

.cta-wrap h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.cta-wrap p {
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  line-height: 1.75;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 24px;
}

.cta-phone-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cta-phone-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 2px;
}

.cta-phone-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* Quote form — glass style */
.glass-form {
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.glass-form .form-label {
  color: rgba(255, 255, 255, .7);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 5px;
}

.glass-form .form-control {
  background: rgba(255, 255, 255, .09);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  color: #fff;
  font-size: 13.5px;
  padding: 11px 14px;
  height: auto;
}

.glass-form .form-control::placeholder {
  color: rgba(255, 255, 255, .35);
}

.glass-form .form-control:focus {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
  color: #fff;
}

.glass-form label.error {
  color: #fca5a5;
}

/* ================================================================
   PRODUCT DETAIL
================================================================ */
.product-gallery {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  min-height: 280px;
}

.product-gallery img {
  max-height: 220px;
  object-fit: contain;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--bg-muted);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table td {
  padding: 10px 0;
  font-size: 14px;
  vertical-align: top;
}

.spec-table td:first-child {
  width: 36%;
  font-weight: 600;
  color: var(--text-muted);
  padding-right: 12px;
  white-space: nowrap;
}

.spec-table td:last-child {
  color: var(--text);
}

.spec-table code {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 12.5px;
}

.in-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--success-light);
  color: var(--success);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
}

.in-stock::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, .35);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(5, 150, 105, 0);
  }
}

.keyword-block {
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
}

.keyword-block h6 {
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 12px;
  font-weight: 700;
}

.keyword-block ul {
  margin: 0;
  padding-left: 18px;
}

.keyword-block li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 3px 0;
}

.sticky-sidebar {
  position: sticky;
  top: 100px;
}

.related-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 6px;
  transition: var(--transition);
}

.related-link i {
  color: var(--primary);
  flex-shrink: 0;
  font-size: 13px;
}

.related-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateX(4px);
}

/* ================================================================
   A-Z DIRECTORY
================================================================ */
.az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-bottom: 44px;
}

.az-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

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

.az-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 3px 10px var(--primary-glow);
}


/* ----------------------------------------------------------------
   COMPOUND CARD GRID  (replaces old .api-card grid on category page)
---------------------------------------------------------------- */

/* Grid header bar */
.api-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 14px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.api-grid-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.api-grid-title i {
  color: var(--primary);
  font-size: 16px;
}

.api-grid-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 999px;
}

/* Responsive grid — auto-fill columns min 220px */
.api-compound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* Individual card */
.compound-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 8px rgba(22, 103, 184, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: cardFadeUp .45s ease both;
  animation-delay: calc(var(--card-index, 0) * 28ms);
  cursor: pointer;
}

.compound-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(22, 103, 184, .16);
  border-color: var(--primary);
}

/* Coloured top strip with overlaid patterns */
.compound-card-bg {
  position: relative;
  height: 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  flex-shrink: 0;
}

/* Subtle dot-pattern overlay */
.compound-hex-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .7;
}

/* Giant ghost letter in the strip */
.compound-letter-bg {
  position: absolute;
  right: -8px;
  top: -20px;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, .12);
  letter-spacing: -.05em;
  pointer-events: none;
  user-select: none;
}

/* Card body */
.compound-card-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 18px;
  flex: 1;
}

.compound-icon-wrap {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  margin-top: 2px;
}

.compound-card:hover .compound-icon-wrap {
  background: var(--primary);
  color: #fff;
}

.compound-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.compound-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  transition: color .2s;
  word-break: break-word;
}

.compound-card:hover .compound-name {
  color: var(--primary);
}

.compound-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 999px;
  transition: var(--transition);
  width: fit-content;
}

.compound-card:hover .compound-badge {
  background: var(--primary);
  color: #fff;
}

.compound-badge i {
  font-size: 9px;
  transition: transform .2s;
}

.compound-card:hover .compound-badge i {
  transform: translateX(3px);
}

/* Glossy shine sweep on hover */
.compound-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .0) 30%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .0) 70%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position .5s ease;
}

.compound-card:hover .compound-card-shine {
  background-position: 100% 0;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

/* ---- keep old .api-card for any other pages that still use it ---- */
.api-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: #fff;
  text-align: center;
  color: var(--navy);
  transition: var(--transition);
  height: 100%;
  text-decoration: none;
}

.api-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--primary);
}

.api-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: var(--transition);
}

.api-icon i {
  color: var(--primary);
  font-size: 16px;
}

.api-card:hover .api-icon {
  background: var(--primary);
}

.api-card:hover .api-icon i {
  color: #fff;
}

.api-card span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

/* ---- New API drug category card ---- */
.api-drug-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: #fff;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}

.api-drug-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.adc-header {
  position: relative;
  height: 60px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--transition);
}

.api-drug-card:hover .adc-header {
  background: var(--primary);
}

.adc-letter {
  font-size: 48px;
  font-weight: 900;
  color: rgba(22, 103, 184, .12);
  line-height: 1;
  position: absolute;
  left: 8px;
  bottom: -10px;
  letter-spacing: -.05em;
  user-select: none;
  transition: var(--transition);
}

.api-drug-card:hover .adc-letter {
  color: rgba(255, 255, 255, .15);
}

.adc-icon {
  color: var(--primary);
  font-size: 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.api-drug-card:hover .adc-icon {
  color: #fff;
}

.adc-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.adc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 6px;
}

.adc-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.adc-link i {
  font-size: 10px;
  transition: transform .2s;
}

.api-drug-card:hover .adc-link i {
  transform: translateX(3px);
}

/* ================================================================
   API MOSAIC GRID  (category page — tab 1)
   Dark-themed bento-style cards, completely unlike the table below
================================================================ */
.api-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 10px;
}

/* Wide card spans 2 cols */
.api-mosaic-card--wide {
  grid-column: span 2;
}

/* Tall card spans 2 rows */
.api-mosaic-card--tall {
  grid-row: span 2;
}

/* Normal card — default */
.api-mosaic-card--normal {
  grid-column: span 1;
}

.api-mosaic-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  box-shadow: 0 2px 12px rgba(10, 22, 40, .18);
}

.api-mosaic-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 40px rgba(22, 103, 184, .35);
  border-color: var(--primary);
  text-decoration: none;
}

/* Subtle animated gradient background */
.api-mosaic-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(22, 103, 184, .3) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.api-mosaic-card:hover::after {
  opacity: 1;
}

/* Inner padding */
.amc-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 16px 18px;
}

/* Top row: index + icon */
.amc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amc-index {
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, .25);
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.amc-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
  transition: background .2s, color .2s;
}

.api-mosaic-card:hover .amc-icon {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Name */
.amc-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 8px 0 4px;
}

/* Bigger name on wide/tall cards */
.api-mosaic-card--wide .amc-name,
.api-mosaic-card--tall .amc-name {
  font-size: 15px;
}

/* Footer row: tag + arrow */
.amc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amc-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6, 193, 222, .1);
  border: 1px solid rgba(6, 193, 222, .2);
  padding: 2px 8px;
  border-radius: 999px;
}

.amc-arrow {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: rgba(255, 255, 255, .4);
  transition: background .2s, color .2s, transform .2s;
}

.api-mosaic-card:hover .amc-arrow {
  background: var(--primary);
  color: #fff;
  transform: translate(2px, -2px);
}

/* Glow blob */
.amc-glow {
  position: absolute;
  bottom: -30px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(22, 103, 184, .25) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity .3s;
  opacity: 0;
}

.api-mosaic-card:hover .amc-glow {
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .api-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

  .api-mosaic-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .api-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
    gap: 8px;
  }

  .api-mosaic-card--wide,
  .api-mosaic-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}






/* Section label pill (above section headings) */
.section-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 10px;
}

/* Tab switcher */
.tab-switcher {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
}

.tab-btn-mod,
.tab-btn-modern {
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13.5px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tab-btn-mod.active,
.tab-btn-modern.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(22, 103, 184, .12);
}

.tab-btn-mod:hover:not(.active),
.tab-btn-modern:hover:not(.active) {
  color: var(--navy);
  background: rgba(255, 255, 255, .6);
}

.tab-btn-mod .cnt,
.tab-btn-modern .cnt,
.tab-btn-modern .badge {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 700;
  border: none;
  line-height: 1.5;
}

.tab-btn-mod.active .cnt,
.tab-btn-modern.active .badge,
.tab-btn-modern.active .cnt {
  background: var(--primary);
  color: #fff;
}

/* Inactive tab badge uses muted style */
.tab-btn-modern:not(.active) .badge {
  background: var(--bg-muted);
  color: var(--text-muted);
}

.tab-pane-content {
  display: none;
}

.tab-pane-content.active {
  display: block;
}

/* ================================================================
   TABLE MODERN
================================================================ */
.table-modern {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table-modern thead tr th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
}

.table-modern tbody tr td {
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table-modern tbody tr:last-child td {
  border-bottom: none;
}

.table-modern tbody tr:hover td {
  background: var(--primary-light);
}

/* CAS Number badge */
.cas-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 2px 10px;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ================================================================
   TABLES
================================================================ */
.table-mod {
  font-size: 14px;
  width: 100%;
  border-collapse: collapse;
}

.table-mod thead th {
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 14px 16px;
  border: none;
}

.table-mod thead th:first-child {
  border-radius: 8px 0 0 0;
}

.table-mod thead th:last-child {
  border-radius: 0 8px 0 0;
}

.table-mod tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--bg-muted);
  vertical-align: middle;
  color: var(--text);
}

.table-mod tbody tr:hover td {
  background: var(--primary-light);
}

.table-mod .cas-pill {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  font-family: monospace;
}

.table-mod code {
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 12.5px;
}

/* ================================================================
   FORMS
================================================================ */
.form-control,
.form-select,
textarea.form-control {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  padding: 11px 14px;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  height: auto;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 103, 184, .1);
  color: var(--text);
  background: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .6);
  padding: 80px 0 0;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .52);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.footer-col-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .52);
  font-size: 14px;
  padding: 5px 0;
  transition: var(--transition);
}

.footer-link i {
  font-size: 10px;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}

.footer-link:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-link:hover i {
  color: var(--primary);
}

.footer-contact-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  align-items: flex-start;
}

.footer-contact-row i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 14px;
}

.footer-contact-row a {
  color: rgba(255, 255, 255, .55);
  transition: var(--transition);
}

.footer-contact-row a:hover {
  color: #fff;
}

.footer-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer-cert-badge {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .04em;
}

.footer-bottom {
  background: rgba(0, 0, 0, .25);
  margin-top: 60px;
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
}

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

.footer-bottom a:hover {
  color: #fff;
}

/* ================================================================
   BACK TO TOP
================================================================ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 4px 18px var(--primary-glow);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  color: #fff;
}

/* ================================================================
   PAGINATION
================================================================ */
.pagination {
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.page-link {
  border-radius: 8px !important;
  border: 1.5px solid var(--border);
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  background: #fff;
  transition: var(--transition);
}

.page-link:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ================================================================
   SCROLL REVEAL — DISABLED (all content always visible)
================================================================ */
.reveal,
.reveal-left,
.reveal-right,
.will-reveal,
.revealed {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}


/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1199px) {
  .navbar-search input {
    width: 260px;
  }
}

@media (max-width: 991px) {
  .site-navbar {
    padding: 0 16px;
  }

  .cta-wrap {
    padding: 40px 28px;
  }

  .stats-strip {
    margin-top: -28px;
  }

  .about-badge-1,
  .about-badge-2 {
    display: none;
  }
}

@media (max-width: 767px) {
  .stats-strip {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
  }

  .stat-item+.stat-item {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .hero-bg {
    height: 60vh;
    min-height: 380px;
  }

  .hero-caption h1 {
    font-size: 1.9rem;
  }

  .section-py {
    padding: 64px 0;
  }
}

@media (max-width: 575px) {
  .tab-switcher {
    width: 100%;
  }

  .tab-btn-mod,
  .tab-btn-modern {
    flex: 1;
    justify-content: center;
  }

  .cta-wrap {
    padding: 32px 20px;
  }
}


/* ================================================================
   LEGACY PAGE HERO (services, contact, quotes, search, facility,
   products, nitrosamine, peptide, drug-intermediates, speciality)
   These pages still use the old .bg-header + .container-fluid hero
   pattern. We normalise them to match the design system.
================================================================ */
.bg-header {
  min-height: 260px;
  display: flex;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  /* was 90px — we remove it */
}

.bg-header .row {
  min-height: 220px;
  align-items: center;
}

/* Undo Bootstrap's .bg-primary override on these hero divs */
.container-fluid.bg-primary.bg-header {
  background-color: transparent !important;
  /* real bg is the inline gradient */
}

/* ================================================================
   LEGACY SECTION TITLE (old .section-title used in many pages)
================================================================ */
.section-title {
  margin-bottom: 40px;
}

.section-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary);
  margin-bottom: 12px;
}

.section-title.text-center::before {
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   PRODUCT LIST CARD  (.blog-item used on products/nitrosamine/
   peptide/drug-intermediates/speciality/search pages)
================================================================ */
.blog-item {
  border-radius: var(--radius-lg) !important;
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: #fff !important;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-xs) !important;
}

.blog-item:hover {
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--primary);
  transform: translateY(-5px);
}

.blog-img img {
  border-radius: var(--radius);
  object-fit: contain;
  max-height: 180px;
  background: var(--bg-soft);
}

.blog-img {
  background: var(--bg-soft);
  border-radius: var(--radius);
}

/* ================================================================
   SERVICE CARDS (.service-card-photo / .service-card-name)
================================================================ */
.service-card-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.service-card-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-card-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Decorative underline for service headings */
.h-decor {
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 14px;
}

/* ================================================================
   MARKER LIST  (.marker-list-md-line on services page)
================================================================ */
.marker-list-md-line {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.marker-list-md-line li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px dashed var(--border);
}

.marker-list-md-line li:last-child {
  border-bottom: none;
}

.marker-list-md-line li::before {
  content: '\f058';
  /* fa-check-circle */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 13px;
}

/* ================================================================
   PRODUCT DETAIL (.product-detail-img / .product-specs-table /
   .card-modern / .rounded-modern)
================================================================ */
.product-detail-img {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  min-height: 240px;
}

.product-detail-img img {
  max-height: 200px;
  object-fit: contain;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.product-specs-table tr {
  border-bottom: 1px solid var(--bg-muted);
}

.product-specs-table tr:last-child {
  border-bottom: none;
}

.product-specs-table td {
  padding: 9px 4px;
  font-size: 13.5px;
  vertical-align: top;
}

.product-specs-table td:first-child {
  width: 38%;
  font-weight: 600;
  color: var(--text-muted);
  padding-right: 10px;
  white-space: nowrap;
}

.product-specs-table td:last-child {
  color: var(--text);
}

.card-modern {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: var(--shadow-xs);
}

.rounded-modern {
  border-radius: var(--radius) !important;
}

/* ================================================================
   SEARCH RESULT (.search-background / .fs-13 / .img-100 /
   .size-50px / .fw-700 / .green--text)
================================================================ */
.search-background {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-subtle);
  background: var(--bg-soft);
  padding: 6px 14px;
  border-bottom: 1px solid var(--border);
}

.fs-13 {
  font-size: 13px !important;
}

.img-100 {
  max-width: 100%;
}

.size-50px {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.fw-700 {
  font-weight: 700 !important;
}

.green--text {
  color: var(--success) !important;
}

/* ================================================================
   CONTACT PAGE  (.contact-h4 overrides heading size in info rows)
================================================================ */
.contact-h4 h4 {
  font-size: 1rem;
}

.contact-h4 h4 a {
  color: var(--primary);
}

/* Contact info cards */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 14px 18px;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.cic-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.cic-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-subtle);
  margin-bottom: 3px;
}

.cic-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

.cic-value a {
  color: var(--primary);
}

.cic-value a:hover {
  color: var(--primary-dark);
}

/* ================================================================
   ABOUT PAGE  (.section-title inside .about is just the local title)
================================================================ */
.about .section-title h5,
.section-title h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

/* ================================================================
   PRODUCT SPECS TABLE — code pill
================================================================ */
.product-specs-table code {
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 12.5px;
  font-weight: 600;
}

/* ================================================================
   BLOG-ITEM CARD — product name line clamp
================================================================ */
.blog-item .blog-img img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  background: var(--bg-soft);
}

/* ================================================================
   SECTION-PY ADJUSTMENTS — remove double-padding on container-fluid
   wrappers still present in older templates
================================================================ */
.container-fluid.wow {
  overflow: visible;
}

/* ================================================================
   RESPONSIVE ADDITIONS
================================================================ */
@media (max-width: 991px) {
  .sticky-sidebar {
    position: static;
  }

  .card-modern {
    padding: 20px;
  }

  .cta-wrap {
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 767px) {
  .section-py {
    padding: 56px 0;
  }

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

  .product-detail-img {
    min-height: 180px;
    padding: 20px;
  }

  .az-nav {
    gap: 4px;
  }

  .az-btn {
    width: 32px;
    height: 32px;
    font-size: 11px;
    border-radius: 6px;
  }

  .tab-switcher {
    width: 100%;
  }

  .tab-btn-mod,
  .tab-btn-modern {
    font-size: 12.5px;
    padding: 9px 14px;
  }

  .api-compound-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .compound-card-bg {
    height: 64px;
  }

  .compound-letter-bg {
    font-size: 60px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .d-flex.gap-2.mt-4.flex-wrap {
    flex-direction: column;
  }

  .d-flex.gap-2.mt-4.flex-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   MODERN FAQ ACCORDION SYSTEM
================================================================ */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion .accordion-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(10, 22, 40, .03);
  transition: var(--transition);
}

.faq-accordion .accordion-item:hover {
  border-color: var(--border-strong);
  box-shadow: 0 6px 20px rgba(10, 22, 40, .07);
}

.faq-accordion .accordion-button {
  background: #ffffff;
  color: var(--navy);
  font-size: 15.5px;
  font-weight: 700;
  padding: 20px 24px;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(22, 103, 184, 0.04);
  color: var(--primary);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  background-image: none;
  font-size: 13px;
  color: var(--text-muted);
  transition: transform .3s ease, color .3s ease;
  margin-left: auto;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-accordion .accordion-button .faq-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-accordion .accordion-button:not(.collapsed) .faq-icon-badge {
  background: var(--primary);
  color: #ffffff;
}

.faq-accordion .accordion-body {
  padding: 0 24px 22px 70px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .faq-accordion .accordion-button {
    padding: 16px 18px;
    font-size: 14.5px;
  }

  .faq-accordion .accordion-body {
    padding: 0 18px 18px 18px;
  }
}