
/* Vedrax visual system — Steps 4.2 + 4.3 */

:root {
  --vd-navy: #10283c;
  --vd-blue: #166b9a;
  --vd-ice: #dcecf5;
  --vd-text: #243746;
  --vd-muted: #53677a;
  --vd-bg: #f6f8fa;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--vd-text);
  background: #fff;
  padding-top: 76px;
  font-family: system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
}

:focus-visible {
  outline: 3px solid var(--vd-blue);
  outline-offset: 3px;
}

/* Accessibility */

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 1100;
  background: #fff;
  padding: 12px;
}

.skip-link:focus {
  top: 10px;
}

/* Navigation */

.vedrax-navbar {
  min-height: 76px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #e2eaf0;
  box-shadow: 0 2px 14px rgba(16,40,60,.06);
}

.vedrax-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.28rem;
  letter-spacing: .09em;
  font-weight: 750;
  color: var(--vd-navy) !important;
}

.vedrax-navbar .nav-link {
  font-weight: 550;
  color: var(--vd-text) !important;
  padding: .65rem .8rem !important;
}

.vedrax-navbar .nav-link:hover,
.vedrax-footer a:hover {
  color: var(--vd-blue) !important;
}

/* Buttons */

.vedrax-cta,
.btn.vedrax-cta {
  background: var(--vd-blue);
  color: white !important;
  border: 1px solid var(--vd-blue);
  border-radius: 7px;
  font-weight: 650;
  padding: .65rem 1.05rem;
}

.vedrax-cta:hover {
  background: var(--vd-navy);
  border-color: var(--vd-navy);
}

/* Footer */

.vedrax-footer {
  background: var(--vd-navy);
  color: #d6e3ed;
  padding: 58px 0 20px;
  margin-top: 72px;
}

.vedrax-footer-brand {
  color: #fff !important;
  font-size: 1.5rem;
  letter-spacing: .1em;
  font-weight: 750;
  text-decoration: none;
}

.vedrax-footer p {
  max-width: 410px;
  line-height: 1.7;
  margin-top: 14px;
}

.vedrax-footer-title {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 17px;
}

.vedrax-footer li {
  margin-bottom: 11px;
}

.vedrax-footer a {
  color: #d6e3ed;
  text-decoration: none;
}

.vedrax-footer-bottom {
  border-top: 1px solid #3c5466;
  padding-top: 20px;
  font-size: .85rem;
  color: #bdccd8;
}

/* Service page hero */

.vd-page-hero {
  padding: 76px 0 64px;
  background: linear-gradient(
    130deg,
    var(--vd-navy),
    #1b4b6a
  );
  color: white;
}

.vd-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 750;
  line-height: 1.15;
}

.vd-page-hero p {
  font-size: 1.15rem;
  max-width: 730px;
  color: #e0eaf2;
  line-height: 1.65;
}

/* Reusable sections */

.vd-section {
  padding: 65px 0;
}

.vd-card {
  border: 1px solid #dce5ec;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 4px 18px rgba(16,40,60,.04);
}

.vd-card h2 {
  font-size: 1.35rem;
  color: var(--vd-navy);
}

/* Responsive navigation */

@media (max-width: 991.98px) {
  .vedrax-navbar .navbar-collapse {
    padding: 12px 0 20px;
  }

  .vedrax-navbar .nav-item {
    width: 100%;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Step 4.3 — Commercial page components */

.vd-eyebrow {
  color: #b7d7ed !important;
  font-size: .78rem !important;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.vd-section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.vd-section-heading h2,
.vd-narrow h2,
.vd-cta-section h2 {
  color: var(--vd-navy);
  font-weight: 750;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.vd-section-heading p,
.vd-card p,
.vd-narrow p {
  color: var(--vd-muted);
  line-height: 1.75;
}

.vd-card h3 {
  color: var(--vd-navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.vd-card {
  background: #fff;
}

.vd-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1rem;
}

.vd-link-grid a {
  color: var(--vd-blue);
  font-weight: 650;
}

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

.vd-narrow {
  max-width: 850px;
}

.vd-narrow h2:not(:first-child),
.vd-narrow h3 {
  margin-top: 2rem;
}

.vd-cta-section {
  background: var(--vd-ice);
  margin-top: 0;
}

.vd-cta-section p {
  max-width: 690px;
  margin: 1rem auto 1.7rem;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .vd-section {
    padding: 48px 0;
  }

  .vd-page-hero {
    padding: 58px 0 52px;
  }

  .vd-card {
    padding: 22px;
  }
}


/* Pharmaceutical service cards */

.vd-service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--vd-blue);
    font-weight: 650;
    text-decoration: none;
}

.vd-service-link:hover {
    color: var(--vd-navy);
    text-decoration: underline;
}

.vd-card {
    display: flex;
    flex-direction: column;
}

.vd-card .vd-service-link {
    margin-top: auto;
    padding-top: 1.25rem;
}


/* ==========================================
   Step 4.6 — Visual enhancements
   ========================================== */

.vd-home-hero {
    position: relative;
    overflow: hidden;
}

.vd-home-hero .row {
    min-height: 400px;
}

.vd-hero-visual {
    padding: 1.5rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    text-align: center;
}

.vd-hero-visual img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

.vd-feature-card {
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.vd-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(16,40,60,.12);
}

.vd-icon-wrap {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--vd-ice);
    color: var(--vd-blue);
    border-radius: 16px;
}

.vd-icon-wrap .material-icons {
    font-size: 32px;
}

.vd-feature-card h3 {
    line-height: 1.35;
}

.vd-feature-card p {
    flex-grow: 1;
}

.vd-service-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--vd-blue);
    font-weight: 650;
    text-decoration: none;
}

.vd-service-link:hover {
    color: var(--vd-navy);
    text-decoration: underline;
}

.vd-process-step {
    position: relative;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 14px;
}

.vd-step-number {
    color: var(--vd-blue);
    font-size: .85rem;
    font-weight: 750;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}

.vd-process-step > .material-icons {
    display: block;
    font-size: 34px;
    color: var(--vd-blue);
    margin-bottom: 1rem;
}

.vd-process-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--vd-navy);
}

.vd-process-step p {
    color: var(--vd-muted);
    line-height: 1.65;
}

.vd-inline-icon {
    font-size: 18px;
    vertical-align: middle;
    margin-right: 4px;
}

@media (max-width: 991.98px) {
    .vd-home-hero .row {
        min-height: auto;
    }

    .vd-hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vd-feature-card {
        transition: none;
    }

    .vd-feature-card:hover {
        transform: none;
    }
}


/* ==========================================
   Vedrax founders — About page
   ========================================== */

.vd-founder-card {
    height: 100%;
    background: #fff;
    border: 1px solid #dce5ec;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(16,40,60,.08);
    transition: transform .2s ease,
                box-shadow .2s ease;
}

.vd-founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(16,40,60,.13);
}

.vd-founder-photo {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #eaf1f5;
}

.vd-founder-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.vd-founder-content {
    padding: 30px;
}

.vd-founder-label {
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .13em;
    color: var(--vd-blue);
    margin-bottom: .65rem;
}

.vd-founder-content h3 {
    color: var(--vd-navy);
    font-size: 1.65rem;
    font-weight: 750;
    margin-bottom: .35rem;
}

.vd-founder-role {
    color: var(--vd-blue);
    font-weight: 650;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.vd-founder-content > p:not(.vd-founder-label):not(.vd-founder-role) {
    color: var(--vd-muted);
    line-height: 1.75;
}

.vd-founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1.5rem 0;
}

.vd-founder-tags span {
    background: var(--vd-ice);
    color: var(--vd-navy);
    font-size: .78rem;
    font-weight: 600;
    padding: 7px 11px;
    border-radius: 30px;
}

.vd-linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--vd-blue);
    font-weight: 650;
    text-decoration: none;
}

.vd-linkedin-link:hover {
    color: var(--vd-navy);
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .vd-founder-content {
        padding: 24px;
    }

    .vd-founder-photo {
        aspect-ratio: 1 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vd-founder-card {
        transition: none;
    }

    .vd-founder-card:hover {
        transform: none;
    }
}

.vd-sending-overlay[hidden] {
    display: none !important;
}

.vd-sending-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.97);
    animation: vd-overlay-enter 0.2s ease-out;
}

.vd-sending-content {
    max-width: 420px;
    text-align: center;
}

.vd-sending-content h2 {
    margin: 24px 0 12px;
    font-size: 1.6rem;
    color: #17324d;
}

.vd-sending-content p {
    color: #657487;
    line-height: 1.6;
}

.vd-sending-spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border: 4px solid #e5edf5;
    border-top-color: #2374b7;
    border-radius: 50%;
    animation: vd-spinner-rotate 0.8s linear infinite;
}

@keyframes vd-spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes vd-overlay-enter {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vd-sending-overlay,
    .vd-sending-spinner {
        animation: none;
    }
}

