/* =========================================================
   MEDIVIA LIFESCIENCES — STYLE.CSS
   Branded Generic Medicines | Corporate Informational Site
   ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Color system */
  --c-primary: #0a5fa0;
  --c-primary-dark: #073f6b;
  --c-primary-light: #2e86c8;
  --c-accent: #14946b;
  --c-accent-dark: #0e7050;
  --c-accent-light: #1fbe8a;

  --c-bg: #ffffff;
  --c-bg-soft-blue: #f2f8fc;
  --c-bg-soft-green: #f1faf6;
  --c-bg-dark: #06243d;

  --c-text: #16242f;
  --c-text-muted: #5b6b78;
  --c-text-on-dark: #eaf3fa;
  --c-border: #e3ebf1;

  --c-white: #ffffff;

  /* Gradients */
  --grad-primary: linear-gradient(
    135deg,
    var(--c-primary) 0%,
    var(--c-primary-dark) 100%
  );
  --grad-accent: linear-gradient(
    135deg,
    var(--c-accent-light) 0%,
    var(--c-accent) 100%
  );
  --grad-hero:
    radial-gradient(
      circle at 80% 20%,
      rgba(20, 148, 107, 0.1),
      transparent 45%
    ),
    radial-gradient(circle at 10% 90%, rgba(10, 95, 160, 0.1), transparent 45%);

  /* Typography */
  --font-display: "Lexend", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Shape & shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --shadow-sm: 0 2px 10px rgba(13, 44, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 44, 74, 0.08);
  --shadow-lg: 0 20px 45px rgba(13, 44, 74, 0.12);
  --shadow-hover: 0 18px 38px rgba(10, 95, 160, 0.18);

  --transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--c-primary-dark);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
p {
  color: var(--c-text-muted);
  margin-bottom: 0;
}
img {
  max-width: 100%;
}
.section {
  padding: 96px 0;
  position: relative;
}
@media (max-width: 767.98px) {
  .section {
    padding: 64px 0;
  }
}
.bg-soft-blue {
  background: var(--c-bg-soft-blue);
}
.bg-soft-green {
  background: var(--c-bg-soft-green);
}
.bg-dark-medical {
  background: var(--grad-primary);
}
.text-accent {
  color: var(--c-accent);
}
.text-primary-deep {
  color: var(--c-primary);
}

.container-xl {
  max-width: 1260px;
}

/* ---------- 3. UTILITIES: EYEBROW / HEADINGS / DIVIDERS ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  background: var(--c-bg-soft-green);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
  display: inline-block;
}
.section-heading {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin-bottom: 16px;
}
.section-sub {
  max-width: 660px;
  color: var(--c-text-muted);
  font-size: 1.02rem;
}
.section-head-row {
  margin-bottom: 48px;
}

/* molecule-bond divider used between sections to echo the "same molecule" thesis */
.bond-divider {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
}
.bond-divider svg {
  width: 180px;
  height: 18px;
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
}
.btn-primary-medivia {
  background: var(--grad-primary);
  color: var(--c-white);
  box-shadow: 0 10px 24px rgba(10, 95, 160, 0.28);
}
.btn-primary-medivia:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(10, 95, 160, 0.35);
  color: var(--c-white);
}
.btn-accent-medivia {
  background: var(--grad-accent);
  color: var(--c-white);
  box-shadow: 0 10px 24px rgba(20, 148, 107, 0.28);
}
.btn-accent-medivia:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(20, 148, 107, 0.35);
  color: var(--c-white);
}
.btn-outline-medivia {
  background: transparent;
  border: 1.5px solid var(--c-primary);
  color: var(--c-primary);
}
.btn-outline-medivia:hover {
  background: var(--c-primary);
  color: var(--c-white);
  transform: translateY(-3px);
}
.btn-outline-light-medivia {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--c-white);
}
.btn-outline-light-medivia:hover {
  background: var(--c-white);
  color: var(--c-primary-dark);
  transform: translateY(-3px);
}

/* ---------- 5. NAVBAR ---------- */
.navbar-medivia {
  padding: 18px 0;
  background-color: #fff;
}
.navbar-medivia.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.navbar-brand-medivia {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--c-primary-dark) !important;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 8px 18px rgba(10, 95, 160, 0.3);
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--c-accent-dark);
  text-transform: uppercase;
}
.navbar-medivia .nav-link {
  font-weight: 500;
  color: var(--c-text) !important;
  margin: 0 6px;
  position: relative;
  padding: 8px 4px !important;
}
.navbar-medivia .nav-link::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transition: var(--transition);
}
.navbar-medivia .nav-link:hover::after,
.navbar-medivia .nav-link.active::after {
  width: calc(100% - 8px);
}
.navbar-medivia .nav-link.active {
  color: var(--c-primary) !important;
}
.nav-cta {
  margin-left: 12px;
}

/* ---------- 6. HERO (HOME) ---------- */
.hero-medivia {
  position: relative;
  padding: 100px 0 50px;
  background: var(--c-bg);
  overflow: hidden;
}
.hero-medivia::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 0;
}
.hero-text {
  position: relative;
  z-index: 2;
}
.hero-medivia h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin-bottom: 22px;
}
.hero-medivia h1 span {
  color: var(--c-accent);
}
.hero-medivia .lead-text {
  font-size: 1.08rem;
  color: var(--c-text-muted);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--c-primary-dark);
}
.hero-stats .stat-label {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* hero graphic: molecule motif */
.hero-graphic {
  position: relative;
  z-index: 2;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.molecule-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px dashed rgba(10, 95, 160, 0.25);
  animation: spin 26s linear infinite;
}
.molecule-ring.r2 {
  width: 300px;
  height: 300px;
  border-color: rgba(20, 148, 107, 0.25);
  animation-direction: reverse;
  animation-duration: 20s;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.molecule-core {
  position: relative;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  flex-direction: column;
  z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.molecule-core i {
  font-size: 2.6rem;
  margin-bottom: 8px;
}
.molecule-core span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.floating-chip {
  position: absolute;
  background: var(--c-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--c-primary-dark);
  animation: floaty 5s ease-in-out infinite;
  z-index: 4;
}
.floating-chip i {
  color: var(--c-accent);
  font-size: 1.1rem;
}
.chip-1 {
  top: 10%;
  left: -2%;
  animation-delay: 0.4s;
}
.chip-2 {
  bottom: 14%;
  right: -4%;
  animation-delay: 1.2s;
}
.chip-3 {
  bottom: -3%;
  left: 18%;
  animation-delay: 0.8s;
}

@media (max-width: 991.98px) {
  .hero-medivia {
    padding: 140px 0 70px;
    text-align: center;
  }
  .hero-text {
    margin-bottom: 50px;
  }
  .lead-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group,
  .hero-stats {
    justify-content: center;
  }
  .hero-graphic {
    height: 360px;
  }
  .molecule-core {
    width: 190px;
    height: 190px;
  }
  .floating-chip {
    display: none;
  }
}

/* ---------- 7. PAGE HEADER (SUB PAGES) ---------- */
.page-header {
  background: var(--grad-primary);
  padding: 150px 0 70px;
  position: relative;
  overflow: hidden;
  color: var(--c-white);
}
.page-header::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
}
.page-header .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #bfebdc;
}
.page-header h1 {
  color: var(--c-white);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.page-header .breadcrumb {
  margin-top: 14px;
  margin-bottom: 0;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.page-header .breadcrumb-item.active {
  color: #bfebdc;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 8. CARDS ---------- */
.card-medivia {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card-medivia:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--c-bg-soft-blue);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.card-medivia:hover .icon-badge {
  background: var(--grad-primary);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.icon-badge.green {
  background: var(--c-bg-soft-green);
  color: var(--c-accent);
}
.card-medivia:hover .icon-badge.green {
  background: var(--grad-accent);
  color: #fff;
}

.card-medivia h5,
.card-medivia h4 {
  margin-bottom: 12px;
}
.card-medivia p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* stat card */
.stat-card {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius-md);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--c-primary);
}
.stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* checklist */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--c-border);
  color: var(--c-text);
  font-weight: 500;
}
.check-list li:last-child {
  border-bottom: none;
}
.check-list i {
  color: var(--c-accent);
  background: var(--c-bg-soft-green);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
  margin-top: 2px;
}

/* certification badge */
.cert-badge {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius-md);
  background: var(--c-bg-soft-blue);
  border: 1px solid var(--c-border);
  transition: var(--transition);
  height: 100%;
}
.cert-badge:hover {
  background: var(--c-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.cert-badge i {
  font-size: 2rem;
  color: var(--c-primary);
  margin-bottom: 14px;
  display: block;
}
.cert-badge h6 {
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.cert-badge span {
  font-size: 0.78rem;
  color: var(--c-text-muted);
}

/* why choose us list */
.feature-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
}
.feature-row .icon-badge {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* manufacturing cards */
.mfg-card {
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}
.mfg-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.mfg-card .icon-badge {
  margin: 0 auto 20px;
}

/* ---------- 9. CTA BANNER ---------- */
.cta-banner {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
}
.cta-banner h2 {
  color: #fff;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
}
.cta-contact-line {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.cta-contact-line a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #fff;
}
.cta-contact-line i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 767.98px) {
  .cta-banner {
    padding: 44px 26px;
    text-align: center;
  }
  .cta-contact-line {
    justify-content: center;
  }
}

/* ---------- 10. ABOUT PAGE SPECIFIC ---------- */
.mv-card {
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  height: 100%;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mv-card.mission {
  background: var(--grad-primary);
}
.mv-card.vision {
  background: var(--grad-accent);
}
.mv-card i.bg-icon {
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 7rem;
  opacity: 0.12;
}
.mv-card h4 {
  color: #fff;
  margin-bottom: 16px;
}
.mv-card p {
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 2;
}

.value-item {
  text-align: center;
  padding: 28px 18px;
}
.value-item .icon-badge {
  margin: 0 auto 18px;
}

.quality-policy-box {
  background: var(--c-bg-soft-blue);
  border-radius: var(--radius-lg);
  padding: 40px;
  border-left: 5px solid var(--c-primary);
}
.quality-policy-box blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--c-primary-dark);
  font-weight: 500;
  margin-bottom: 20px;
}

/* ---------- 11. PRODUCTS PAGE ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-text);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.filter-btn.active {
  background: var(--grad-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(10, 95, 160, 0.25);
}

.product-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.product-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--c-bg-soft-green);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.category-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--c-bg-soft-blue);
  color: var(--c-primary);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.product-card h5 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.product-comp {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--c-accent-dark);
  background: var(--c-bg-soft-green);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  display: block;
  word-break: break-word;
}
.product-card p.desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}
.product-card .btn-details {
  align-self: flex-start;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-primary);
  color: var(--c-primary);
  background: transparent;
  font-weight: 600;
  transition: var(--transition);
}
.product-card .btn-details:hover {
  background: var(--c-primary);
  color: #fff;
}
.product-disclaimer {
  background: var(--c-bg-soft-blue);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.product-disclaimer i {
  color: var(--c-primary);
  margin-top: 3px;
}

/* ---------- 12. CONTACT PAGE ---------- */
.contact-info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}
.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.contact-info-card h6 {
  margin-bottom: 6px;
}
.contact-info-card p {
  font-size: 0.9rem;
  margin: 0;
}

.form-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}
.form-control,
.form-select {
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.94rem;
  transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(10, 95, 160, 0.12);
}
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--c-text);
  margin-bottom: 8px;
}
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  height: 100%;
  min-height: 360px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.alert-success-medivia {
  background: var(--c-bg-soft-green);
  border: 1px solid var(--c-accent-light);
  color: var(--c-accent-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-weight: 500;
  display: none;
}

/* ---------- 13. FOOTER ---------- */
.footer-medivia {
  background: var(--c-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 70px;
}
.footer-medivia h6 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.footer-medivia .brand-text {
  color: #fff;
}
.footer-medivia p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--c-accent-light);
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.footer-contact-item i {
  color: var(--c-accent-light);
  margin-top: 3px;
}
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--c-accent);
  transform: translateY(-4px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 14. BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  border: none;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
}

/* ---------- 15. SCROLL-REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 16. MISC ---------- */
.disclaimer-strip {
  background: var(--c-bg-soft-blue);
  padding: 14px 0;
  font-size: 0.82rem;
  text-align: center;
  color: var(--c-text-muted);
}
hr.soft {
  border-top: 1px dashed var(--c-border);
  opacity: 1;
}

@media (max-width: 575.98px) {
  .form-card {
    padding: 28px 22px;
  }
  .cta-banner {
    border-radius: var(--radius-md);
  }
}
