/* Medicas Genomics: the Bridge theme look. Roboto, light 44px headings, grey #828282 text on #f6f6f6, a 1300px
   grid, white 100px header with an uppercase menu (#00a0f0 on hover), full-width photo rows, a grey counter band
   and a dark #202d33 copyright bar. Row / text styles from the page builder are in vc.css (generated). */

body { font-family: "Roboto", system-ui, sans-serif; font-size: 14px; line-height: 26px; color: #828282; background: #f6f6f6; }
h1, h2, h3, h4, h5, h6 { font-family: "Roboto", sans-serif; color: #373737; margin: 0 0 10px; }
h1, h2 { font-size: 44px; font-weight: 300; line-height: 1.38; }
h3 { font-size: 22px; font-weight: 400; line-height: 1.4; }
h4 { font-size: 24px; font-weight: 400; line-height: 33px; color: #181c1b; }
h6 { font-size: 16px; font-weight: 400; color: #404549; line-height: 1.8; }
a { color: #00a0f0; }
p { margin: 0 0 14px; }

/* header */
.mg-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.mg-header-in { width: min(1300px, 100% - 40px); margin: 0 auto; min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mg-brand img { display: block; height: 62px; width: auto; }
.mg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.mg-nav a { display: block; padding: 37px 12px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: #000; text-decoration: none; transition: color .2s; }
.mg-nav a:hover, .mg-nav a[aria-current="page"] { color: #00a0f0; }
.mg-menu-btn { display: none; }

/* page-builder layout */
.vc-section { position: relative; overflow: hidden; }
.vc-section.is-grid > .vc-row, .vc-inner.is-grid > .vc-row { width: min(1300px, 100% - 40px); margin-inline: auto; }
.vc-section.is-full > .vc-row { width: 100%; }
.vc-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; }
.vc-inner { position: relative; }
.vc-inner > .vc-row { margin-inline: auto; }
.vc-section.is-full .vc-inner.is-full > .vc-row { width: 100%; }
.vc-col { padding: 0 15px; }
.vc-inner .vc-inner .vc-col { padding: 0 15px; }
.vc-bg { position: absolute; inset: 0; z-index: 0; }
.vc-bg img { width: 100%; height: 100%; object-fit: cover; }
.vc-space { display: block; }
.vc-text { margin-bottom: 0; }
.vc-text p:last-child { margin-bottom: 0; }
.vc-text h2 { margin: 0; }
.vc-img { margin-bottom: 0; }
.vc-img img { max-width: 100%; height: auto; display: inline-block; vertical-align: top; }
.vc-img.is-center { text-align: center; }
.vc-img.is-right { text-align: right; }
.vc-img .lb { display: inline-block; overflow: hidden; }
.vc-img .lb img { transition: transform .4s; }
.vc-img .lb:hover img { transform: scale(1.03); }
.vc-crop { display: inline-block; width: 100%; }
.vc-logo img { width: 210px; height: auto; }
.vc-icontext { display: flex; align-items: center; gap: 22px; margin-bottom: 10px; }
.vc-icon { flex: none; }
.vc-icon img { width: 100%; height: auto; display: block; }
.vc-icontext h4 { margin: 0; }
.icon-small .vc-icontext h4 { font-size: 22px; }
.vc-counter { text-align: center; padding: 12px 0; }
.vc-count { display: block; font-size: 48px; font-weight: 300; line-height: 1; color: #fff; }
.vc-count-label { font-size: 18px; font-weight: 600; color: #fff; margin: 14px 0 0; text-transform: capitalize; }

/* hero slider */
.hs { position: relative; min-height: clamp(420px, 46vw, 760px); overflow: hidden; background: #e8f4fa; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; display: flex; align-items: center; }
.hs-slide.is-active { opacity: 1; visibility: visible; }
.hs-bg { position: absolute; inset: 0; }
.hs-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hs-slide.is-active .hs-bg img { transform: scale(1); }
.hs-copy { position: relative; z-index: 1; width: min(1300px, 100% - 40px); margin: 0 auto; }
.hs-copy > * { max-width: 560px; }
.hs-icon img { width: 70px; height: auto; margin-bottom: 18px; }
.hs-copy h1, .hs-title { font-size: clamp(32px, 4.4vw, 60px); font-weight: 300; line-height: 1.15; color: #00a0f0; margin: 0 0 18px; }
.hs-copy p { font-size: clamp(15px, 1.4vw, 20px); line-height: 1.6; color: #404549; margin: 0; }
.hs-slide.is-active .hs-copy > * { animation: hs-in .9s both; }
.hs-slide.is-active .hs-copy > :nth-child(2) { animation-delay: .2s; }
.hs-slide.is-active .hs-copy > :nth-child(3) { animation-delay: .4s; }
@keyframes hs-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hs-prev, .hs-next, .vc-prev, .vc-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.75); color: #373737; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.hs-prev:hover, .hs-next:hover, .vc-prev:hover, .vc-next:hover { background: #00a0f0; color: #fff; }
.hs-prev, .vc-prev { left: 16px; } .hs-next, .vc-next { right: 16px; }
.hs-dots, .vc-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hs-dots button, .vc-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(0,0,0,.25); cursor: pointer; }
.hs-dots button[aria-current="true"], .vc-dots button[aria-current="true"] { background: #00a0f0; }

/* event slideshows */
.vc-gallery { position: relative; overflow: hidden; margin-bottom: 14px; }
.vc-slide { margin: 0; display: none; }
.vc-slide.is-active { display: block; animation: vc-fade .7s; }
.vc-slide img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.vc-gallery .vc-prev, .vc-gallery .vc-next { width: 36px; height: 36px; font-size: 24px; }
.vc-gallery .vc-dots { bottom: 8px; }
@keyframes vc-fade { from { opacity: .3; } to { opacity: 1; } }

/* videos */
.vc-video { margin-bottom: 25px; }
.vc-yt, .vc-video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.vc-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .4s; }
.vc-yt:hover img { opacity: 1; transform: scale(1.03); }
.vc-yt svg { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); color: #fff; background: rgba(0,160,240,.9); border-radius: 50%; padding: 18px; }

/* contact */
.vc-form { display: grid; gap: 14px; text-align: left; }
.vc-form .field { display: grid; gap: 4px; margin: 0; }
.vc-form .field span { font-size: 14px; color: #404549; }
.vc-form input, .vc-form textarea { width: 100%; border: 0; background: #fff; padding: 12px 14px; font: inherit; color: #373737; }
.vc-submit { justify-self: start; border: 0; background: #00a0f0; color: #fff; padding: 12px 34px; font: 500 14px "Roboto", sans-serif; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: background .2s; }
.vc-submit:hover { background: #0080c0; }
.vc-holder { height: 100%; }
.vc-box { height: 100%; }
.vc-pricing { color: #fff; }
.vc-pricing h3 { color: #fff; margin-bottom: 14px; }
.vc-pricing ul { list-style: none; margin: 0; padding: 0; }
.vc-pricing li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.6); }
.vc-pl-title { font-size: 16px; font-weight: 500; }
.vc-social { list-style: none; display: flex; justify-content: center; gap: 14px; margin: 0; padding: 0; }
.vc-social img { width: 40px; height: 40px; display: block; transition: transform .2s; }
.vc-social a:hover img { transform: translateY(-3px); }

/* footer */
.mg-footer { background: #202d33; color: #72777a; font-family: "Open Sans", "Roboto", sans-serif; text-align: center; padding: 22px 16px; font-size: 13px; }
.mg-footer p { margin: 0; }

@media (max-width: 1000px) {
  .vc-col { width: 100% !important; }
  .mg-menu-btn { display: inline-flex; border: 1px solid #ddd; background: #fff; border-radius: 4px; padding: 8px; cursor: pointer; color: #000; }
  .mg-menu-btn svg { width: 22px; height: 22px; }
  .mg-header-in { flex-wrap: wrap; min-height: 76px; }
  .mg-brand img { height: 50px; }
  .mg-nav { display: none; width: 100%; }
  .mg-nav.is-open { display: block; padding-bottom: 10px; }
  .mg-nav ul { flex-direction: column; }
  .mg-nav a { padding: 12px 4px; border-top: 1px solid #eee; }
  h1, h2 { font-size: 34px; }
  .hs-copy { width: calc(100% - 120px); }
}
@media (max-width: 600px) {
  h1, h2 { font-size: 30px; }
  h4 { font-size: 20px; line-height: 1.4; }
  .hs { min-height: 460px; }
  .hs-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.35)); }
  .hs-copy { width: calc(100% - 40px); }
  .hs-prev, .hs-next { top: auto; bottom: 8px; transform: none; width: 38px; height: 38px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slide, .hs-bg img, .vc-yt img, .vc-img .lb img { transition: none; }
  .hs-slide.is-active .hs-copy > *, .vc-slide.is-active { animation: none; }
}

/* the home slider runs edge to edge */
.vc-col:has(.hs) { padding: 0; }
/* slide text stays readable on busy photos */
.hs-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.6) 38%, rgba(255,255,255,0) 66%); }
/* Bridge icon boxes: white circle with a soft shadow */
.icon-small .vc-icon { width: 76px !important; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.08); display: grid; place-items: center; transition: transform .3s, box-shadow .3s; }
.icon-small .vc-icon img { width: 42px; }
.icon-small .vc-icontext:hover .vc-icon { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,160,240,.18); }
/* the old header sat over the first row, so the slider started right under the menu */
.vc-section:has(.hs) { margin-top: 0 !important; }
/* a grid row inside a grid section already sits in the 1300px container */
.vc-section.is-grid .vc-inner.is-grid > .vc-row { width: 100%; }
@media (max-width: 600px) { .vc-col { padding: 0 8px; } .vc-icontext { gap: 14px; } }
