/* =========================================================
   Emuna Pharma — core styles
   Clear white identity with visible static navigation bar,
   14+ year trust messaging, 5 Juba branches, and medicines catalog.
   ========================================================= */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/manrope-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* Luminous Bright Healthcare System (Soft on Eyes, Radiant & Fresh) */
  --bg: #f4f8fc;
  --bg-soft: #eaf2fa;
  --surface-2: #ffffff;
  --surface-hover: #f0f7ff;
  --navy-deep: #0b192c;
  --paper: #ffffff;

  /* Attractive Brand Accent System: Radiant Cyan-Azure */
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: rgba(2, 132, 199, 0.10);
  --accent-glow: 0 4px 14px rgba(2, 132, 199, 0.22);

  /* Secondary Attractive Colors: Medical Emerald & Amber Gold */
  --emerald: #10b981;
  --emerald-hover: #059669;
  --emerald-light: rgba(16, 185, 129, 0.12);
  --gold: #d97706;
  --gold-hover: #b45309;
  --gold-light: rgba(217, 119, 6, 0.14);

  /* High-Contrast Luminous Typography (Deep Navy & Slate) */
  --ink: #1e293b;
  --ink-heading: #0b192c;
  --muted: #5f6f85;
  --muted-light: #94a3b8;

  /* Clean White Panels & Cards */
  --panel: #ffffff;
  --error: #f87171;
  --success: #34d399;

  /* Text & accents on dark navy surfaces */
  --on-dark: #f1f5f9;
  --on-dark-muted: #cbd5e1;
  --on-dark-accent: #38bdf8;

  /* Borders & lines */
  --line: rgba(56, 189, 248, 0.14);
  --line-strong: rgba(56, 189, 248, 0.32);
  --line-light: rgba(255, 255, 255, 0.07);

  /* Fonts */
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  /* Layout */
  --gutter: clamp(1.1rem, 3.5vw, 2.5rem);
  --max: 1260px;
  --radius-xl: clamp(1.8rem, 3.6vw, 3rem);
  --radius-lg: 1.75rem;
  --radius-md: 1.15rem;

  /* Shadows for Dark Blue Depth */
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 2px 8px -2px rgba(0, 210, 255, 0.06);
  --shadow-hover: 0 20px 48px -4px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 210, 255, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 85% -4%, rgba(56, 189, 248, 0.15), transparent 46rem),
    radial-gradient(circle at -5% 35%, rgba(16, 185, 129, 0.09), transparent 40rem),
    radial-gradient(circle at 50% 85%, rgba(14, 165, 233, 0.09), transparent 48rem);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-footer :focus-visible {
  outline-color: var(--accent);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--navy-deep);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

section[id],
main[id] {
  scroll-margin-top: 130px;
}

#main-content:focus {
  outline: none;
}

/* ---------------------------------------------------------
   Top Announcement Bar (Trust + Quick Contacts + Hours)
   --------------------------------------------------------- */

.top-bar {
  background: #0b1628;
  border-bottom: 1px solid var(--line);
  font-size: 0.74rem;
  color: #94a3b8;
  padding-block: 0.45rem;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
}

.top-bar__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--on-dark);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #040914;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.trust-pill,
.trust-badge {
  animation: badge-pulse 3.2s infinite ease-in-out;
}

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(2, 132, 199, 0);
  }
}

.hero-stat__number {
  font-variant-numeric: tabular-nums;
}

.medicine-card,
.branch-card,
.trust-card {
  transform: perspective(900px) rotateX(var(--card-x, 0deg)) rotateY(var(--card-y, 0deg)) translateY(var(--card-lift, 0px));
  will-change: transform;
}

.branch-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-hover);
  background: #1e3864;
}

.top-bar__contacts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.top-bar__item svg {
  width: 13px;
  height: 13px;
  color: var(--on-dark-accent);
}

.top-bar__link {
  color: #e2e8f0;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.top-bar__link:hover {
  color: var(--on-dark-accent);
}

.top-bar__sep {
  color: rgba(148, 163, 184, 0.45);
}

/* ---------------------------------------------------------
   Static, Non-Collapsible Navigation Bar
   (Accessible & clickable from any device at any scroll point)
   --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(2, 132, 199, 0.15);
  background: rgba(255, 255, 255, 0.90);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

/* =========================================================
   Fancy Animated Rain Droplets Falling from Top of Navigation Bar
   ========================================================= */

.nav-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.header__inner,
.nav-shell {
  position: relative;
  z-index: 2;
}

.nav-rain__drop {
  position: absolute;
  top: -35px;
  width: 1.5px;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 132, 199, 0.45) 60%, #0284c7 100%);
  border-radius: 999px;
  animation: navRainFall linear infinite;
  will-change: transform, opacity;
}

.nav-rain__drop::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.5);
}

.nav-rain__drop--emerald {
  background: linear-gradient(180deg, transparent 0%, rgba(16, 185, 129, 0.45) 60%, #10b981 100%);
}

.nav-rain__drop--emerald::after {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

@keyframes navRainFall {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(115px);
    opacity: 0;
  }
}

.header-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.header-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, #38bdf8 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
  transition: width 0.1s linear;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(2, 132, 199, 0.25);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}

.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.45);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.brand-mark__bg {
  fill: var(--accent);
}

.brand-mark__stroke {
  fill: none;
  stroke: #ffffff;
}

.brand-mark__dot {
  fill: #e0f2fe;
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.brand-wordmark__name {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-wordmark__suffix {
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

/* Static, non-collapsible nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.4vw, 1.6rem);
  flex-wrap: nowrap;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  bottom: 0.15rem;
  left: 0.5rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="location"],
.nav-links a[aria-current="page"],
.nav-links a.is-active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a[aria-current="location"]::after,
.nav-links a[aria-current="page"]::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* ---------------------------------------------------------
   Typography & Shared Elements
   --------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--accent-hover);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  color: #0b192c;
}

.section-title em {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.section-heading__aside {
  display: flex;
  max-width: 460px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  padding-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding-bottom: 0.25rem;
  color: var(--accent-hover);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.text-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.text-link__line {
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}

.text-link:hover {
  color: var(--accent-hover);
}

.text-link:hover .text-link__line {
  width: 44px;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn__arrow {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.22), 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #0380c2 0%, #0284c7 50%, #0369a1 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.32), 0 2px 6px rgba(0, 0, 0, 0.25);
}

.btn--outline {
  border-color: rgba(2, 132, 199, 0.32);
  background: #ffffff;
  color: var(--ink-heading);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.16);
}

/* Outline buttons placed on dark navy surfaces */
.team-banner .btn--outline,
.contact-form .btn--outline,
.site-footer .btn--outline {
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.08);
  color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.team-banner .btn--outline:hover,
.contact-form .btn--outline:hover,
.site-footer .btn--outline:hover {
  border-color: var(--on-dark-accent);
  color: #ffffff;
  background: rgba(56, 189, 248, 0.16);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.18);
}

.btn--small {
  min-height: 40px;
  padding: 0.55rem 1.15rem;
  font-size: 0.76rem;
}

.btn--wide {
  width: 100%;
}

/* ---------------------------------------------------------
   Hero Section
   --------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(2.8rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.hero__ambient-orb--one {
  top: 4%;
  right: -12%;
  width: min(54vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08), rgba(2, 132, 199, 0) 70%);
}

.hero__ambient-orb--two {
  bottom: -18%;
  left: -16%;
  width: min(50vw, 620px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.05), rgba(14, 165, 233, 0) 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__copy,
.hero__visual {
  min-width: 0;
}

.trust-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.65rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #040914;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.hero__title {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero__title em {
  color: var(--accent);
}

.hero__lede {
  max-width: 580px;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.15vw, 1.05rem);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat__number {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1;
  font-weight: 700;
}

.hero-stat__label {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 600;
}

.hero__foot {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 4vw, 4rem);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__foot-line {
  height: 1px;
  flex: 1;
  background: var(--line);
}

/* ---------------------------------------------------------
   Hero Art / 3D Composition
   --------------------------------------------------------- */

.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 0.92;
  min-height: 480px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 2.75rem 2.75rem 4.5rem 2.75rem;
  background:
    radial-gradient(circle at 75% 20%, rgba(56, 189, 248, 0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.10), transparent 45%),
    linear-gradient(145deg, #162947 0%, #1a3258 60%, #101e36 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(0, 210, 255, 0.12);
  perspective: 1200px;
}

.hero-art__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
}

.hero-art__glow {
  position: absolute;
  top: 21%;
  left: 48%;
  z-index: 0;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12), rgba(2, 132, 199, 0) 70%);
  transform: translateX(-50%);
}

.hero-art__topline {
  position: absolute;
  top: 1.25rem;
  right: 1.45rem;
  left: 1.45rem;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #94a3b8;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-shadow: none;
}

.hero-art__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-soft);
  will-change: transform;
}

.hero-art__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s var(--ease-soft);
}

.hero-art.is-webgl .hero-art__canvas {
  opacity: 1;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 7%;
  left: 24%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.2);
}

.orbit--one {
  width: 76%;
  aspect-ratio: 1;
  border-color: rgba(2, 132, 199, 0.25);
  transform: translate(-50%, -50%) rotateX(67deg) rotateZ(-14deg);
  animation: orbit-one 46s linear infinite;
}

.orbit--two {
  width: 59%;
  aspect-ratio: 1;
  border-color: rgba(2, 132, 199, 0.2);
  border-style: dashed;
  transform: translate(-50%, -50%) rotateX(72deg) rotateZ(37deg);
  animation: orbit-two 58s linear infinite reverse;
}

.orbit--three {
  width: 92%;
  aspect-ratio: 1;
  border-color: rgba(2, 132, 199, 0.12);
  transform: translate(-50%, -50%) rotateX(74deg) rotateZ(79deg);
  animation: orbit-three 72s linear infinite;
}

.art-object {
  position: absolute;
  z-index: 3;
  transform-style: preserve-3d;
}

.art-capsule {
  top: 35%;
  left: 7%;
  width: 49%;
  aspect-ratio: 2.08;
  transform: translateZ(75px) rotate(-26deg);
}

.capsule {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 52%, #bae6fd 100%);
  box-shadow:
    inset 0 10px 15px rgba(255, 255, 255, 0.8),
    inset 0 -10px 16px rgba(2, 132, 199, 0.25),
    0 20px 32px rgba(15, 23, 42, 0.12);
  animation: float-capsule 7.5s ease-in-out infinite;
}

.capsule::before {
  content: "";
  position: absolute;
  inset: 0 0 0 50%;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 58%, #075985 100%);
}

.capsule__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.8);
}

.capsule__shine {
  position: absolute;
  top: 12%;
  left: 11%;
  width: 49%;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  transform: rotate(-2deg);
  opacity: 0.8;
}

.art-vial {
  top: 14.5%;
  right: 9%;
  width: 27%;
  height: 56%;
  transform: translateZ(120px) rotate(7deg);
}

.vial {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: float-vial 8.5s ease-in-out infinite;
}

.vial__cap {
  position: absolute;
  top: 0;
  left: 18%;
  width: 64%;
  height: 7.5%;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(90deg, #13223c 0%, #1e3a5f 48%, #13223c 100%);
  box-shadow:
    inset 0 -2px 3px rgba(0, 0, 0, 0.3),
    0 4px 10px rgba(15, 23, 42, 0.15);
}

.vial__neck {
  position: absolute;
  top: 7%;
  left: 29%;
  width: 42%;
  height: 8%;
  border: 1px solid rgba(2, 132, 199, 0.4);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(240, 249, 255, 0.85), rgba(186, 230, 253, 0.5));
  box-shadow: inset 4px 0 5px rgba(255, 255, 255, 0.6);
}

.vial__body {
  position: absolute;
  top: 14%;
  right: 8%;
  bottom: 0;
  left: 8%;
  overflow: hidden;
  border: 1px solid rgba(2, 132, 199, 0.35);
  border-radius: 14px 14px 38px 38px;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(224, 242, 254, 0.4) 49%,
    rgba(255, 255, 255, 0.3) 100%
  );
  box-shadow:
    inset 6px 0 10px rgba(255, 255, 255, 0.8),
    inset -6px 0 10px rgba(2, 132, 199, 0.15),
    0 20px 35px rgba(15, 23, 42, 0.12);
}

.vial__liquid {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 62%;
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.75), rgba(2, 132, 199, 0.95));
}

.vial__label {
  position: absolute;
  top: 21%;
  right: 12%;
  left: 12%;
  padding: 0.58rem 0.2rem 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 4px;
  background: #162846;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  color: #ffffff;
  text-align: center;
}

.vial__label span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(0.82rem, 1.5vw, 1.05rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.vial__label small {
  display: block;
  margin-top: 0.18rem;
  color: var(--on-dark-accent);
  font-size: 0.38rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.art-softgel {
  bottom: 13%;
  left: 16%;
  width: 21%;
  aspect-ratio: 1;
  transform: translateZ(55px) rotate(16deg);
}

.softgel {
  width: 100%;
  height: 100%;
  border-radius: 48% 52% 50% 50% / 55% 58% 42% 45%;
  background: radial-gradient(circle at 32% 22%, #ffffff 0 6%, #e0f2fe 26%, #7dd3fc 58%, #0284c7 100%);
  box-shadow:
    inset -8px -10px 16px rgba(2, 132, 199, 0.35),
    inset 8px 8px 14px rgba(255, 255, 255, 0.8),
    0 14px 25px rgba(15, 23, 42, 0.12);
  animation: float-softgel 6.8s ease-in-out infinite;
}

.art-tablet {
  right: 19%;
  bottom: 18%;
  width: 16%;
  aspect-ratio: 1;
  transform: translateZ(42px) rotate(-12deg);
}

.tablet {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #f0f7fc 65%, #d0e3f0 100%);
  box-shadow:
    inset 4px 5px 8px rgba(255, 255, 255, 0.9),
    inset -4px -6px 10px rgba(15, 23, 42, 0.08),
    0 12px 20px rgba(15, 23, 42, 0.1);
  animation: float-tablet 7.8s ease-in-out infinite;
}

.art-leaf {
  right: -1%;
  bottom: -3%;
  width: 34%;
  opacity: 0.9;
  transform: translateZ(24px) rotate(5deg);
  filter: drop-shadow(0 14px 18px rgba(15, 23, 42, 0.1));
}

.art-tag {
  position: absolute;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.8rem;
  border: 1px solid #d0e3f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  color: var(--ink);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateZ(190px);
}

.art-tag span {
  color: var(--accent);
}

.art-tag--top { top: 16%; left: 7%; }
.art-tag--bottom { bottom: 18%; left: 7%; }

.hero-art__caption {
  position: absolute;
  right: 1.55rem;
  bottom: 1.25rem;
  left: 1.55rem;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-art__caption-rule {
  height: 1px;
  flex: 1;
  background: var(--line-strong);
}

@keyframes float-capsule {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes float-vial {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-11px) rotate(-1deg); }
}

@keyframes float-softgel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes float-tablet {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes orbit-one {
  from { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(-14deg); }
  to { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(346deg); }
}

@keyframes orbit-two {
  from { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(37deg); }
  to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(397deg); }
}

@keyframes orbit-three {
  from { transform: translate(-50%, -50%) rotateX(74deg) rotateZ(79deg); }
  to { transform: translate(-50%, -50%) rotateX(74deg) rotateZ(439deg); }
}

/* ---------------------------------------------------------
   14+ Years Trust Section
   --------------------------------------------------------- */

.trust-section {
  background: #112038;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Dark section: keep all its text readable on navy */
.trust-section .section-title {
  color: var(--on-dark);
}

.trust-section .section-title em {
  color: var(--on-dark-accent);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.trust-section .section-heading__aside p {
  color: var(--on-dark-muted);
}

.trust-section .eyebrow,
.trust-section .text-link {
  color: var(--on-dark-accent);
}

.trust-section .eyebrow__dot {
  background: var(--on-dark-accent);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.trust-section .text-link__line {
  background: var(--on-dark-accent);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-card {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #162846;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.trust-card:hover {
  transform: translateY(-4px);
  background: #1c3258;
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.trust-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.14);
  color: var(--on-dark-accent);
  border: 1px solid rgba(0, 210, 255, 0.25);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.trust-card h3 {
  font-size: 1.25rem;
  color: var(--on-dark);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.trust-card p {
  color: var(--on-dark-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ---------------------------------------------------------
   5 Branches in Juba Section
   --------------------------------------------------------- */

.branch-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  color: #047857;
  font-size: 0.8rem;
}

.branch-hours-badge strong {
  font-weight: 800;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.branches-grid > article:nth-child(4),
.branches-grid > article:nth-child(5) {
  grid-column: span 1;
}

.branch-card {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 6px 20px -3px rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.branch-card:hover {
  transform: translateY(-4px);
  background: #1c3258;
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

/* Card turns dark on hover/selection, so invert its text colours */
.branch-card:hover,
.branch-card.is-selected {
  --ink: #e2e8f0;
  --muted: #cbd5e1;
  --line: rgba(148, 163, 184, 0.24);
}

.branch-card:hover .branch-card__header h3,
.branch-card.is-selected .branch-card__header h3 {
  color: var(--on-dark);
}

.branch-card:hover .branch-info a,
.branch-card.is-selected .branch-info a {
  color: var(--on-dark-accent);
}

.branch-card__header {
  margin-bottom: 1.25rem;
}

.branch-card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #0369a1;
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.branch-card__tag--main {
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.38);
}

.branch-card:hover .branch-card__tag,
.branch-card.is-selected .branch-card__tag {
  color: var(--on-dark-accent);
}

.branch-card:hover .branch-card__tag--main,
.branch-card.is-selected .branch-card__tag--main {
  color: #6ee7b7;
}

.branch-card__header h3 {
  font-size: 1.55rem;
  color: #0b192c;
  line-height: 1.15;
}

.branch-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.branch-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.branch-info__icon {
  font-size: 1.1rem;
  line-height: 1.3;
}

.branch-info strong {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.branch-info p {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

.branch-info a {
  color: var(--accent-hover);
  font-weight: 700;
}

.branch-info a:hover {
  text-decoration: underline;
}

.branch-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.branch-role {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 600;
}

.team-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 2.2rem clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1c3258 0%, #0f1e38 100%);
  box-shadow: var(--shadow-card);
}

.team-banner__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-hover);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-banner__content {
  max-width: 680px;
}

.team-banner__content h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  color: var(--on-dark);
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.team-banner__content p {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.team-banner__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---------------------------------------------------------
   Medicines & Pharmaceutical Catalog Section (With Pictures)
   --------------------------------------------------------- */

.medicines-section {
  background: #eef5fc;
  position: relative;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.medicines-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.medicines-section .container {
  position: relative;
  z-index: 1;
}

.medicines-section .section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  color: #0b192c;
}

.medicines-section .section-title em {
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.medicines-section .eyebrow {
  color: var(--accent-hover);
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.medicines-section .eyebrow__dot {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.medicines-section .section-heading__aside p {
  color: var(--muted);
}

.medicines-section .text-link {
  color: var(--accent-hover);
}

.medicines-section .text-link__line {
  background: var(--accent);
}

.medicines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.medicine-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 6px 20px -3px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(2, 132, 199, 0.04);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.medicine-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 16px 36px -4px rgba(2, 132, 199, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.medicine-card__media {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: radial-gradient(circle at center, #ffffff 45%, #edf4fc 100%);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
}

.medicine-card__media img {
  margin: auto !important;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center !important;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(14, 26, 47, 0.12));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.medicine-card:hover .medicine-card__media img {
  transform: scale(1.06);
  filter: drop-shadow(0 10px 24px rgba(14, 26, 47, 0.18));
}

.medicine-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.8rem;
  background: rgba(6, 13, 27, 0.92);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.medicine-card__content {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  flex: 1;
}

.medicine-card__content h3 {
  font-size: 1.55rem;
  color: #0b192c;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.medicine-card__content p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.medicine-card__specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.1rem;
  margin-bottom: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.medicine-card__specs li {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.5;
}

.medicine-card__specs li span {
  font-weight: 700;
  color: var(--accent-hover);
  margin-right: 0.35rem;
}

.medicine-card .btn {
  margin-top: auto;
}

/* ---------------------------------------------------------
   Intro / About Us Section
   --------------------------------------------------------- */

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--line);
}

.intro__quote {
  position: relative;
  align-self: start;
  padding-top: 1.2rem;
}

.intro__quote-mark {
  position: absolute;
  top: -1.1rem;
  left: -0.4rem;
  color: rgba(2, 132, 199, 0.25);
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 1;
}

.intro__quote p {
  position: relative;
  z-index: 1;
  max-width: 500px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.intro__quote-rule {
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 1.6rem;
  background: var(--accent);
}

.intro__body {
  display: grid;
  max-width: 620px;
  gap: 1.25rem;
  padding-top: 1.4rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.86;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.8vw, 2.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  list-style: none;
}

.principle {
  padding-right: 1rem;
  border-right: 1px solid var(--line);
}

.principle:last-child {
  border-right: 0;
}

.principle__number {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.principle h3 {
  max-width: 220px;
  color: var(--ink);
  font-size: 1.34rem;
  line-height: 1.15;
}

.principle p {
  margin-top: 0.72rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.68;
}

/* ---------------------------------------------------------
   Services Section
   --------------------------------------------------------- */

.services__heading {
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  perspective: 1200px;
}

.service-card {
  display: flex;
  min-width: 0;
}

.service-card__surface {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 400px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.4rem, 2.3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #162846;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease),
    background-color 0.45s var(--ease);
}

.service-card__surface:hover {
  transform: translateY(-5px);
  background: #1c3258;
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.service-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-card__number {
  color: var(--on-dark-accent);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
}

.service-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 1.1rem;
  background: rgba(0, 210, 255, 0.12);
  color: var(--on-dark-accent);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.service-card__icon svg {
  width: 34px;
  height: 34px;
}

.service-card__surface:hover .service-card__icon {
  background: var(--accent);
  color: #ffffff;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 290px;
  margin-top: 2rem;
  color: var(--on-dark);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.1;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  margin-bottom: 1.5rem;
  color: var(--on-dark-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.service-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  color: var(--on-dark-accent);
  font-size: 0.74rem;
  font-weight: 700;
}

/* ---------------------------------------------------------
   Contact Section & Form
   --------------------------------------------------------- */

.contact {
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
  background: #eef5fc;
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact__lede {
  max-width: 480px;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
}

.contact-details {
  display: grid;
  max-width: 520px;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-detail__icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.14);
  color: var(--accent);
  border: 1px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.15);
  margin-top: 0.15rem;
}

.contact-detail__icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail__label {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-detail__value {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-detail__link,
.contact-detail__sub-link {
  width: fit-content;
  color: var(--accent-hover);
  font-weight: 700;
}

.contact-detail__link:hover,
.contact-detail__sub-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.contact-detail__sub-link {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.74rem;
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #162846;
  box-shadow: var(--shadow-card);
}

.contact-form__header h3 {
  color: var(--on-dark);
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  line-height: 1.1;
}

.contact-form__header p {
  margin-top: 0.45rem;
  color: var(--on-dark-muted);
  font-size: 0.78rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 0.95rem;
  border-radius: 0.8rem;
  font-size: 0.8rem;
  line-height: 1.55;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.form-status.is-error {
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.form-status.is-info {
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.form-field {
  margin-top: 1.05rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.form-field input,
.form-field textarea,
.form-select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 0.85rem;
  background: #12213a;
  color: #f8fafc;
  font-size: 0.88rem;
  line-height: 1.5;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.22);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23475569' stroke-width='1.5' stroke-linecap='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  appearance: none;
  padding-right: 2.5rem;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.form-field__error {
  margin-top: 0.3rem;
  color: var(--error);
  font-size: 0.7rem;
  line-height: 1.5;
}

.form-field__error:empty {
  display: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact-form .btn {
  margin-top: 1.35rem;
}

.form-note {
  margin-top: 0.9rem;
  color: var(--on-dark-muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  background: #0b1628;
  color: #e2e8f0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.8rem);
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
}

.brand--footer .brand-mark__bg { fill: var(--accent); }
.brand--footer .brand-mark__stroke { stroke: #ffffff; }
.brand--footer .brand-mark__dot { fill: #e0f2fe; }
.brand--footer .brand-wordmark__name { color: var(--on-dark); }
.brand--footer .brand-wordmark__suffix { color: var(--on-dark-accent); }

.footer__brand p {
  max-width: 320px;
  margin-top: 1.15rem;
  color: var(--on-dark-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer__trust-pill {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.15));
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 800;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.footer__hours {
  display: block;
  margin-top: 0.85rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer__label {
  margin-bottom: 1.15rem;
  color: #94a3b8;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer__nav nav,
.footer__contact {
  display: grid;
  align-items: start;
  gap: 0.65rem;
}

.footer__nav a,
.footer__contact a {
  width: fit-content;
  color: #94a3b8;
  font-size: 0.84rem;
  line-height: 1.5;
  transition: color 0.2s var(--ease);
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--on-dark-accent);
}

.footer__branches ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.footer__branches li {
  color: var(--on-dark-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.footer__branches strong {
  color: var(--on-dark);
}

.footer__badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  width: fit-content;
}

.footer__cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  color: var(--on-dark-accent) !important;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.footer__cta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--line);
  color: #94a3b8;
  font-size: 0.68rem;
  line-height: 1.5;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__legal a,
.footer__top {
  color: #94a3b8;
  font-size: 0.68rem;
  transition: color 0.2s var(--ease);
}

.footer__legal a:hover,
.footer__top:hover {
  color: var(--on-dark-accent);
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 120;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--panel);
  color: var(--ink);
  font-size: 0.8rem;
  box-shadow: var(--shadow-card);
}

/* ---------------------------------------------------------
   Reveal choreography
   --------------------------------------------------------- */

.reveal[data-reveal-delay="1"] { --reveal-delay: 1; }
.reveal[data-reveal-delay="2"] { --reveal-delay: 2; }
.reveal[data-reveal-delay="3"] { --reveal-delay: 3; }
.reveal[data-reveal-delay="4"] { --reveal-delay: 4; }
.reveal[data-reveal-delay="5"] { --reveal-delay: 5; }

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0) * 45ms);
  will-change: opacity, transform;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   Responsive Adaptations
   (Static non-collapsible nav remains cleanly visible and directly clickable)
   --------------------------------------------------------- */

@media (max-width: 1200px) {
  .nav-shell {
    gap: 1rem;
  }
  .nav-links {
    gap: 0.35rem;
  }
  .nav-links a {
    padding: 0.4rem 0.35rem;
    font-size: 0.78rem;
  }
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 980px) {
  .nav-shell {
    flex-wrap: wrap;
    min-height: auto;
    padding-block: 0.65rem;
    gap: 0.75rem;
  }

  /* Make navigation bar horizontal scrollable & non-collapsible on tablets/mobile */
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
    gap: 0.4rem;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    background: rgba(13, 27, 52, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #e2e8f0;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a[aria-current="location"],
  .nav-links a[aria-current="page"],
  .nav-links a.is-active {
    background: rgba(0, 210, 255, 0.22);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
  }

  .top-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    min-height: 0;
    max-width: 600px;
    margin-inline: auto;
  }

  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .medicines-grid {
    grid-template-columns: 1fr;
  }

  .section-heading--split,
  .intro__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .principle {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.2rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
  }
}

@media (max-width: 480px) {
  .hero-art {
    min-height: 330px;
  }

  .hero-art__topline {
    top: 0.9rem;
    right: 1rem;
    left: 1rem;
    gap: 0.5rem;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .hero-art__topline span {
    white-space: nowrap;
  }

  .art-tag {
    padding: 0.42rem 0.62rem;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .art-tag--top {
    top: 17%;
    left: 6%;
  }

  .art-tag--bottom {
    bottom: 26%;
    left: 6%;
  }

  .hero-art__caption {
    right: 1rem;
    bottom: 0.9rem;
    left: 1rem;
    gap: 0.45rem;
    font-size: 0.44rem;
    letter-spacing: 0.07em;
  }

  .hero-art__caption-rule {
    display: none;
  }

  .hero-art__caption span:first-child {
    max-width: 62%;
  }
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion-ready .reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-art__stage {
    transform: none !important;
    transition: none !important;
  }

  .capsule,
  .vial,
  .softgel,
  .tablet,
  .orbit {
    animation: none !important;
  }

  .btn,
  .medicine-card,
  .branch-card,
  .trust-card {
    transition-duration: 0.01ms !important;
  }
}


/* =========================================================
   Multi-Page Additions: Page Hero, Breadcrumbs, Inner Layouts
   ========================================================= */

.page-hero {
  position: relative;
  background: linear-gradient(180deg, #e5effa 0%, #f4f8fc 100%);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(2, 132, 199, 0.14);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
}

.breadcrumbs__sep {
  opacity: 0.55;
  font-size: 0.75rem;
  color: var(--muted);
}

.breadcrumbs__current {
  color: var(--ink-heading);
  font-weight: 700;
}

.page-hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  color: #0b192c;
  margin-bottom: 1rem;
  font-weight: 800;
}

.page-hero__title em {
  color: var(--accent);
  font-style: normal;
}

.page-hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #475569;
  line-height: 1.65;
  max-width: 720px;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.page-hero__meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.22);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.page-hero__meta-pill--accent {
  background: #e0f2fe;
  border-color: #7dd3fc;
  color: #0369a1;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

/* ---------------------------------------------------------
   "Who Are We?" Section & Detail Components
   --------------------------------------------------------- */

.who-feature-box {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.20);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.who-feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #00e5ff, #34d399);
}

.who-feature-box .eyebrow {
  color: var(--accent-hover);
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.who-feature-box .eyebrow__dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.who-feature-box__headline {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: #0b192c;
  margin-bottom: 1.25rem;
  line-height: 1.25;
  font-weight: 800;
}

.who-feature-box__lede {
  font-size: 1.15rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.who-feature-box__story {
  font-size: 1rem;
  color: #475569;
  line-height: 1.8;
  white-space: pre-line;
}

.who-feature-box__story strong {
  color: #0b192c;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.mv-card {
  background: #162846;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mv-card__tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.mv-card h3 {
  font-size: 1.8rem;
  color: var(--on-dark);
}

.mv-card p {
  color: var(--on-dark-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-block: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.9rem;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.05rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0e192d;
  border: 3px solid var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.timeline-item__year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.timeline-item h4 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   General Supplies Catalog & Filter Components
   --------------------------------------------------------- */

.supplies-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.supplies-search-wrap {
  position: relative;
  max-width: 600px;
}

.supplies-search-input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 2.85rem;
  background: #12213a;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 999px;
  font-size: 0.95rem;
  color: #f8fafc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.supplies-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.22);
  outline: none;
}

.supplies-search-icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-pill {
  padding: 0.5rem 1rem;
  background: #162846;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-pill:hover {
  background: #1c3258;
  color: var(--on-dark-accent);
  border-color: rgba(56, 189, 248, 0.4);
}

.filter-pill.is-active {
  background: var(--accent);
  color: #040914;
  font-weight: 800;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.45);
}

/* Supplies Catalog Deep Navy Section */
.supplies-catalog-section {
  background: #eef5fc;
  position: relative;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.supplies-catalog-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 5% 10%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 95% 90%, rgba(16, 185, 129, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.supplies-catalog-section .container {
  position: relative;
  z-index: 1;
}

.supplies-catalog-section .section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  color: #0b192c;
}

.supplies-catalog-section .section-title em {
  color: var(--accent);
}

.supplies-catalog-section .eyebrow {
  color: var(--accent-hover);
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

.supplies-catalog-section .eyebrow__dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.supplies-catalog-section .catalog-search,
.supplies-catalog-section .supplies-search-input {
  background: #101e36;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.supplies-catalog-section .catalog-search:focus,
.supplies-catalog-section .supplies-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.25);
  outline: none;
}

.supplies-catalog-section .catalog-search::placeholder,
.supplies-catalog-section .supplies-search-input::placeholder {
  color: #94a3b8;
}

.supplies-catalog-section .supplies-search-icon {
  color: var(--accent);
}

.supplies-catalog-section #supplies-empty {
  background: #162846;
  border: 1px dashed rgba(56, 189, 248, 0.3);
  color: #ffffff;
  border-radius: var(--radius-lg);
}

.supplies-catalog-section #supplies-empty h3 {
  color: #ffffff;
}

.supplies-catalog-section .filter-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 600;
}

.supplies-catalog-section .filter-pill:hover {
  background: #1c3258;
  color: var(--on-dark-accent);
  border-color: var(--accent);
}

.supplies-catalog-section .filter-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #040914;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.45);
}

.supplies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.supply-card {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 20px -3px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(2, 132, 199, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.supply-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: 0 16px 36px -4px rgba(2, 132, 199, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  border-color: #0284c7;
}

.supply-card__media {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: radial-gradient(circle at center, #ffffff 45%, #edf4fc 100%);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
}

.supply-card__media img {
  margin: auto !important;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center !important;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(14, 26, 47, 0.12));
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.supply-card:hover .supply-card__media img {
  transform: scale(1.06);
  filter: drop-shadow(0 10px 24px rgba(14, 26, 47, 0.18));
}

.supply-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(6, 13, 27, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  letter-spacing: 0.04em;
}

.supply-card__stock {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(16, 185, 129, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.supply-card__body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.supply-card__body h3 {
  font-size: 1.35rem;
  color: #0b192c;
  margin-bottom: 0.65rem;
  line-height: 1.25;
  font-weight: 700;
}

.supply-card__body p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.supply-specs {
  list-style: none;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
  margin-bottom: 1.25rem;
  display: grid;
  gap: 0.55rem;
  font-size: 0.84rem;
}

.supply-specs li {
  display: flex;
  flex-direction: column;
  color: #475569;
}

.supply-specs strong {
  color: var(--accent-hover);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.supply-card__footer {
  margin-top: auto;
  border-top: 1px solid rgba(56, 189, 248, 0.16);
  padding-top: 1rem;
}

/* ---------------------------------------------------------
   Gallery & Lightbox Components
   --------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #162846;
  height: 260px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: block;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  display: block;
  transition: transform 0.5s var(--ease);
}

.gallery-item[data-category="warehouses"] img,
.gallery-item[data-category="logistics"] img,
.gallery-item[data-category="branches"] img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.gallery-item[data-category="supplies"] {
  background: radial-gradient(circle at center, #ffffff 40%, #edf4fc 100%);
  padding: 1.25rem;
}

.gallery-item[data-category="supplies"] img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  padding: 0;
  filter: drop-shadow(0 6px 16px rgba(14, 26, 47, 0.18));
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 25, 44, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  opacity: 0.95;
  transition: opacity 0.3s var(--ease);
}

.gallery-item__tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--accent-hover);
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 0.4rem;
}

.gallery-item__title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.gallery-item__caption {
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 25, 44, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-modal__content {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #162846;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-modal__media {
  position: relative;
  background: #13223c;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 65vh;
  overflow: hidden;
}

.lightbox-modal__media img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
}

.lightbox-modal__info {
  padding: 1.5rem;
  background: #162846;
}

.lightbox-modal__title {
  font-size: 1.4rem;
  color: var(--on-dark);
  margin-bottom: 0.5rem;
}

.lightbox-modal__desc {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.lightbox-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 25, 44, 0.7);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.lightbox-modal__close:hover {
  background: var(--accent);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lightbox-nav-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

.lightbox-nav-btn--prev { left: 1rem; }
.lightbox-nav-btn--next { right: 1rem; }

/* ---------------------------------------------------------
   Interactive Map & Branches Components
   --------------------------------------------------------- */

.map-card-wrapper {
  background: #162846;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 3.5rem;
}

.map-card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #13223c;
}

.map-card-header h3 {
  font-size: 1.35rem;
  color: var(--on-dark);
}

.map-card-header p {
  color: var(--on-dark-muted);
  font-size: 0.85rem;
}

.map-container {
  width: 100%;
  height: 480px;
  background: #e2e8f0;
  position: relative;
  z-index: 1;
}

.map-embed-frame {
  width: 100%;
  height: 480px;
  border: none;
}

.map-location-notice {
  background: rgba(0, 210, 255, 0.08);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.map-container .leaflet-tile-pane {
  filter: invert(1) hue-rotate(185deg) brightness(0.9) contrast(1.2);
}

.custom-popup-box {
  background: #162846;
  color: #f1f5f9;
}

.leaflet-popup-content-wrapper {
  background: #162846 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.leaflet-popup-tip {
  background: #162846 !important;
}

.map-location-notice p {
  font-size: 0.9rem;
  color: var(--ink);
}

.map-location-notice strong {
  color: var(--accent-hover);
}

/* Leaflet Custom Popup Styling */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15) !important;
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.5 !important;
  font-family: var(--sans) !important;
}

.custom-popup-box {
  padding: 1.2rem;
}

.custom-popup-tag {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  background: rgba(0, 210, 255, 0.15);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.custom-popup-box h4 {
  font-size: 1.05rem;
  color: var(--on-dark);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.custom-popup-box p {
  font-size: 0.8rem;
  color: var(--on-dark-muted);
  margin-bottom: 0.5rem;
}

.custom-popup-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--on-dark-accent);
  font-weight: 700;
  font-size: 0.78rem;
}

/* ---------------------------------------------------------
   Admin Content Management Portal
   --------------------------------------------------------- */

.admin-layout {
  min-height: 100vh;
  background: #0e192d;
  display: flex;
  flex-direction: column;
}

/* Admin is a dark UI: remap the light-theme tokens to light text */
.admin-layout,
.admin-lock-screen {
  --ink: #e2e8f0;
  --ink-heading: #ffffff;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.2);
  --line-light: rgba(148, 163, 184, 0.14);
  color: var(--ink);
}

.admin-topbar {
  background: #0b1628;
  color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.admin-brand__badge {
  background: var(--accent);
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 65px);
}

.admin-sidebar {
  background: #13223c;
  border-right: 1px solid var(--line);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: all 0.2s var(--ease);
}

.admin-nav-item:hover {
  background: #1c3258;
  color: #ffffff;
}

.admin-nav-item.is-active {
  background: rgba(0, 210, 255, 0.16);
  color: var(--accent);
  border: 1px solid rgba(0, 210, 255, 0.3);
  font-weight: 700;
}

.admin-content {
  padding: 2.5rem;
  max-width: 1100px;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-card {
  background: #162846;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
}

.admin-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light);
}

.admin-card__header h3 {
  font-size: 1.35rem;
  color: var(--ink);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: #13223c;
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
  vertical-align: middle;
}

.admin-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  background: #12213a;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: #162846;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: #1c3258;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-icon:hover {
  background: #f1f5f9;
  border-color: var(--line-strong);
}

.btn-icon--danger {
  color: var(--error);
  border-color: #fecaca;
}

.btn-icon--danger:hover {
  background: #fef2f2;
}

/* Admin Passcode Modal */
.admin-lock-screen {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #13223c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.admin-lock-box {
  background: #162846;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.admin-lock-box h2 {
  font-size: 1.75rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.admin-lock-box p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3100;
  background: #13223c;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem;
  }
  .admin-nav-item {
    white-space: nowrap;
    width: auto;
  }
  .admin-content {
    padding: 1.5rem 1rem;
  }
  .mv-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Fancy Pharmaceutical Loading Animation (Preloader)
   ========================================================= */

.preloader-active {
  overflow: hidden !important;
}

.pharma-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0e192d;
  background-image:
    radial-gradient(circle at 50% 38%, rgba(0, 210, 255, 0.2) 0%, transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(2, 132, 199, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.12) 0%, transparent 40%);
  transition:
    transform 0.85s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.6s var(--ease),
    filter 0.6s var(--ease);
  user-select: none;
  cursor: pointer;
}

.pharma-preloader.is-loaded {
  transform: translateY(-100%);
  opacity: 0;
  filter: blur(8px);
  pointer-events: none;
}

.pharma-preloader.is-dismissed {
  display: none !important;
}

.pharma-preloader__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  width: 90%;
  padding: 2rem 1.5rem;
  z-index: 2;
}

/* 3D Pharmaceutical Stage */
.pharma-preloader__stage {
  position: relative;
  width: 220px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  margin-bottom: 1.75rem;
}

/* 3D Dual Orbital Molecular Rings */
.pharma-orbit {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  pointer-events: none;
}

.pharma-orbit--1 {
  border: 1.5px dashed rgba(2, 132, 199, 0.38);
  transform: rotateX(68deg) rotateY(18deg);
  animation: pharma-orbit-spin 6.5s linear infinite;
}

.pharma-orbit--2 {
  width: 195px;
  height: 195px;
  border: 1.5px solid rgba(56, 189, 248, 0.28);
  transform: rotateX(68deg) rotateY(-36deg);
  animation: pharma-orbit-spin-reverse 8s linear infinite;
}

.pharma-particle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 2px #38bdf8;
}

.pharma-particle--2 {
  background: #38bdf8;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 10px 2px rgba(56, 189, 248, 0.9);
}

/* Central Floating 3D Capsule */
.pharma-capsule {
  position: relative;
  width: 120px;
  height: 50px;
  border-radius: 999px;
  display: flex;
  box-shadow:
    0 22px 35px -8px rgba(11, 25, 44, 0.22),
    0 10px 20px -5px rgba(2, 132, 199, 0.18),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  overflow: hidden;
  animation:
    pharma-capsule-float 3.8s ease-in-out infinite,
    pharma-capsule-tilt 7s ease-in-out infinite;
  transform-style: preserve-3d;
  background: #ffffff;
}

.pharma-capsule__half {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

/* White porcelain half */
.pharma-capsule__half--white {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 45%, #e2e8f0 100%);
  box-shadow: inset -2px 0 4px rgba(15, 23, 42, 0.05);
}

.pharma-capsule__shine {
  position: absolute;
  top: 6px;
  left: 12px;
  width: 38px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  transform: rotate(-3deg);
}

/* Cyan medical half */
.pharma-capsule__half--cyan {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 48%, #0369a1 100%);
  box-shadow: inset 0 0 10px rgba(7, 89, 133, 0.35);
}

.pharma-capsule__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.45), transparent 60%);
}

.pharma-capsule__seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px #38bdf8;
  z-index: 5;
}

/* Active ingredient micro-pellets */
.pharma-pellet {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  animation: pharma-pellet-pulse 2.5s ease-in-out infinite alternate;
}

.pharma-pellet.p1 {
  width: 6px;
  height: 6px;
  top: 14px;
  left: 14px;
  animation-delay: 0.2s;
}

.pharma-pellet.p2 {
  width: 5px;
  height: 5px;
  bottom: 12px;
  left: 28px;
  animation-delay: 0.7s;
}

.pharma-pellet.p3 {
  width: 7px;
  height: 7px;
  top: 24px;
  right: 14px;
  animation-delay: 1.2s;
}

/* Clinical ECG Pulse Waveform */
.pharma-ecg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 34px;
  pointer-events: none;
}

.pharma-ecg__pulse {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: pharma-ecg-sweep 2.4s ease-in-out infinite;
}

/* Brand Wordmark */
.pharma-preloader__brand {
  margin-bottom: 1.35rem;
}

.pharma-preloader__title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}

.pharma-preloader__title .brand-name {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--on-dark);
  letter-spacing: -0.025em;
  line-height: 1;
}

.pharma-preloader__title .brand-suffix {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--on-dark-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

.pharma-preloader__tagline {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Telemetry Progress Bar & Status Ticker */
.pharma-preloader__meter {
  width: 100%;
  max-width: 310px;
  margin-bottom: 1.5rem;
}

.pharma-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.pharma-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
  border-radius: 999px;
  transition: width 0.18s ease-out;
  box-shadow: 0 0 10px #38bdf8;
}

.pharma-preloader__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--on-dark-muted);
}

.pharma-status-ticker {
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.2s var(--ease);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 82%;
  text-align: left;
}

.pharma-status-percent {
  font-weight: 800;
  color: var(--on-dark-accent);
  font-variant-numeric: tabular-nums;
  margin-left: 0.5rem;
}

/* Skip Button */
.pharma-preloader__skip {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--on-dark-muted);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  letter-spacing: 0.03em;
}

.pharma-preloader__skip:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--on-dark-accent);
  color: #ffffff;
}

/* Keyframe Animations */
@keyframes pharma-orbit-spin {
  0% { transform: rotateX(68deg) rotateY(18deg) rotateZ(0deg); }
  100% { transform: rotateX(68deg) rotateY(18deg) rotateZ(360deg); }
}

@keyframes pharma-orbit-spin-reverse {
  0% { transform: rotateX(68deg) rotateY(-36deg) rotateZ(360deg); }
  100% { transform: rotateX(68deg) rotateY(-36deg) rotateZ(0deg); }
}

@keyframes pharma-capsule-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1.5deg);
  }
}

@keyframes pharma-capsule-tilt {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  33% {
    transform: rotate(3deg) scale(1.02);
  }
  66% {
    transform: rotate(-3deg) scale(0.99);
  }
}

@keyframes pharma-pellet-pulse {
  0% {
    transform: scale(0.85) translate(0, 0);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.15) translate(2px, -2px);
    opacity: 1;
  }
}

@keyframes pharma-ecg-sweep {
  0% {
    stroke-dashoffset: 220;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -220;
    opacity: 0;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  .pharma-preloader {
    display: none !important;
  }
  .pharma-capsule,
  .pharma-orbit,
  .pharma-ecg__pulse,
  .pharma-pellet {
    animation: none !important;
  }
}


/* ==========================================================================
   Alem-Inspired Global Sourcing Marquee & Comprehensive Solutions Bento Grid
   ========================================================================== */

/* 1. Global Sourcing & Partner Network Section */
.sourcing-section {
  position: relative;
  background: linear-gradient(180deg, #e5effa 0%, #f4f8fc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.sourcing-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.sourcing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.sourcing-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.18;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.sourcing-title em {
  font-style: italic;
  font-family: var(--font-display, "Instrument Serif", serif);
  font-weight: 400;
  color: var(--accent);
}

.sourcing-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Sourcing Metrics Row */
.sourcing-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto 2.5rem;
}

.sourcing-metric {
  background: #162846;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.sourcing-metric:hover {
  transform: translateY(-2px);
  background: #1c3258;
  border-color: var(--accent);
}

.sourcing-metric__num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  display: block;
  letter-spacing: -0.03em;
}

.sourcing-metric__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Continuous Infinite Marquee */
.marquee-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}

.marquee-shell:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #162846;
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  color: #f1f5f9;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.marquee-pill:hover {
  transform: scale(1.03);
  background: #1c3258;
  border-color: var(--accent);
}

.marquee-flag {
  font-size: 1.2rem;
  line-height: 1;
}

.marquee-pill strong {
  font-weight: 700;
  color: #ffffff;
}

.marquee-pill span {
  color: var(--on-dark-muted);
  font-size: 0.78rem;
}

.marquee-pill__cert {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(56, 189, 248, 0.14);
  color: #7dd3fc;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 2. "Beyond Sales. Comprehensive Healthcare Solutions." Bento Grid */
.bento-section {
  position: relative;
  padding: 6rem 0;
  background: var(--bg);
}

.bento-heading-wrap {
  margin-bottom: 3.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.bento-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.16);
  box-shadow: 0 6px 20px -3px rgba(15, 23, 42, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.bento-card:hover {
  transform: translateY(-5px);
  background: #1c3258;
  border-color: #00d2ff;
  box-shadow: 0 20px 40px -10px rgba(0, 210, 255, 0.25);
}

/* Bento cards turn dark on hover, so invert their text colours */
.bento-card:hover .bento-card__body h3 {
  color: var(--on-dark);
}

.bento-card:hover .bento-card__body p {
  color: var(--on-dark-muted);
}

.bento-card:hover .bento-card__features li {
  color: #e2e8f0;
}

.bento-card:hover .bento-card__tag {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
  color: #7dd3fc;
}

.bento-card:hover .bento-card__icon {
  background: rgba(56, 189, 248, 0.16);
  color: var(--on-dark-accent);
}

.bento-card:hover .bento-card__action {
  color: var(--on-dark-accent);
}

.bento-card:hover .bento-card__features li svg {
  color: var(--on-dark-accent);
}

/* Card Column Spans */
.bento-card--lg {
  grid-column: span 7;
}

.bento-card--md {
  grid-column: span 5;
}

.bento-card--sm {
  grid-column: span 6;
}

.bento-card--full {
  grid-column: span 12;
}

/* Card Top Decor & Icon */
.bento-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bento-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-hover);
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.bento-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(56, 189, 248, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.bento-card__icon svg {
  width: 24px;
  height: 24px;
}

.bento-card__body h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.bento-card__body p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.bento-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bento-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 500;
}

.bento-card__features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.bento-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-hover);
  text-decoration: none;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
  margin-top: auto;
}

.bento-card__action:hover {
  gap: 0.8rem;
  color: var(--accent-hover, #026ca3);
}

.bento-card__action svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.bento-card:hover .bento-card__action svg {
  transform: translateX(3px);
}

/* Responsive queries */
@media (max-width: 991px) {
  .sourcing-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card--lg,
  .bento-card--md,
  .bento-card--sm {
    grid-column: span 12;
  }
}

@media (max-width: 600px) {
  .sourcing-metrics {
    grid-template-columns: 1fr;
  }
  .bento-card {
    padding: 1.6rem;
  }
}
