/* global styles */
html { scroll-behavior: smooth;}
.bioxydyn-logo {width:285px; display:block; margin-top:6px; padding:0;}
body {font-family: 'Source Sans Pro', sans-serif; margin-top:124px;font-weight:350; font-size:18px; line-height: 26px;}
h1 {font-size:52px; line-height: 62px; margin-bottom:30px; margin-top:20px;text-align: center;}
@media (max-width: 576px) {h1 {font-size:40px; line-height:48px}}
h2 {font-size:42px;}
h3 {font-size:28px;text-align: center;}
h4 {font-weight:400; font-size:24px; line-height:30px; text-align: center;}
h5 {font-weight:400; font-size:20px; line-height:30px;}
a {font-weight:400; color:#000;}
a:hover {color:#B02227; text-decoration: none}
.link-accent {color:#B02227;}
.link-accent:hover {color:#e0555a; text-decoration: none;}
.page-links-accent a {color:#B02227;}
.page-links-accent a:hover {color:#e0555a; text-decoration: none;}
.btn-bioxydyn {color:#fff; background-color:#b02227; border-color:#b02227;
	border-radius:0.5rem; padding-left:1.25rem;padding-right:1.25rem; margin:20px;}
.btn-bioxydyn:hover {color:#fff;background-color:#631310; border-color:#631310;}
.btn:focus {box-shadow: none;}
.background {background-image: url('');background-repeat: no-repeat;
	background-color: #ccc;background-position: center;background-size:cover;
	position: relative; height:600px;}
@media (max-width: 576px) {.background {height:800px;}}
.center-text{text-align: center; position: absolute; top: 50%; left: 50%; 
	transform:translate(-50%, -50%);}
@media (min-width: 768px) {.container {max-width: 660px}}
@media (min-width: 992px) {.container {max-width: 960px}}
@media (min-width: 1200px) {.container {max-width: 1140px}}
.anchor {display:block;height:98px; margin-top:-98px; visibility:hidden;}
@media (min-width: 992px) {
	body {font-size:20px; line-height:30px;}
	h1 {font-size:56px; line-height:68px;}
	h2 {font-size:46px;}
	h3 {font-size:30px;}
	h4 {font-size:26px; line-height:32px;}
	h5 {font-size:22px; line-height:32px;}
	.page-intro p {font-size:24px; line-height:34px;}
	.content-page h2 {font-size:38px; line-height:48px;}
	.content-page h3 {font-size:28px; line-height:36px;}
	.content-page p,
	.content-page ul {font-size:22px; line-height:32px;}
}

/* header and footer */
.header {position:fixed;top:0;background-color: #fff;
	width:100%;height:98px; z-index:1000; border-bottom: 1px solid #e8e8e8;
	box-shadow: 0 7px 24px rgba(0, 0, 0, 0.06);}
.footer {background-color:#f4f6f8; border-top:1px solid #dde2e7; padding:36px 0 30px;}
.footer-content {text-align:center;}
.footer-compliance-wrap {
	margin-top:14px;
	padding-top:10px;
	border-top:1px solid #e3e8ed;
}
.footer-compliance-title {
	font-size:11px;
	font-weight:600;
	letter-spacing:0.06em;
	text-transform:uppercase;
	color:#6a7480;
	margin:0 0 8px;
}
.footer-compliance-badges {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:8px;
}
.footer-badge {
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:6px 10px;
	border:1px solid #dbe2e9;
	border-radius:999px;
	background:#f8fafc;
	color:#5b6570;
	font-size:12px;
	font-weight:500;
	line-height:1.2;
}
.footer-badge-mark {
	width:14px;
	height:14px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:50%;
	background:#b02227;
	color:#fff;
	font-size:10px;
	font-weight:700;
	flex-shrink:0;
}
.footer-legal p {
	font-size:13px;
	line-height:1.45;
	color:#4f5a64;
	margin:0 0 4px;
}
.footer-legal p:last-child {margin-bottom:0;}
@media (max-width: 767px) {
	.footer {padding:28px 0 24px;}
	.footer-compliance-title {font-size:10px;}
	.footer-compliance-badges {gap:8px;}
	.footer-badge {font-size:11px; padding:6px 9px;}
	.footer-legal p {font-size:12px; line-height:1.4;}
}
.header-row {align-items: stretch;}
.header-logo-col {display:flex; align-items:center; min-height:98px; padding-right:0;}
.header-logo-col a {display:block; line-height:0;}
.header-nav-col {padding-left: 4px; display:flex; justify-content:flex-end;}
.menubar {text-align: right; margin-top:24px; display:flex; justify-content:flex-end; align-items:flex-start; flex-wrap:nowrap; width:100%;}
.menubar .nav-desktop-item {display:inline-block;}
.menubar .nav-mobile-item {display:none !important;}
.menubtn {font-size:26px;padding:2px;display:inline-block; position:relative;background-color: transparent}
.menubtn a {color:#292929;}
.menubtn a:hover {color:#111111;}
.menubtn .menu-text {font-size:16px; font-weight:600; vertical-align: middle; position: relative; top: 0; letter-spacing: 0.01em; white-space: nowrap;}
@media (max-width: 767px) {.menubtn .menu-text {display: none;}}
.menubtn .tooltiptext {display: none;}
@media (hover:hover) {
	.menubtn .tooltiptext {visibility: hidden; width: 80px; top:100%; left:50%; margin-left:-40px;
						background-color: #555555;
						color: #fff; font-size:12px; text-align: center;
  						padding: 3px 0; border-radius: 6px; 
  						position: absolute; z-index: 1000;}
	.menubtn:hover .tooltiptext {visibility:visible;}
}
button.menubtn {border-style: none;}
button.menubtn:focus {outline: none;}
.dropdown-menubtn {padding:6px;display:inline-block; position:relative;}
.dropdown {position:relative;display:inline-block;}
.dropdown-menu {margin: 0; border: 1px solid #e9e9e9; background-color: #fff; position: absolute;
				border-radius:16px; min-width: 320px; z-index: 1000; font-size:16px;
				box-shadow: 0 22px 40px rgba(0, 0, 0, 0.16); padding:10px;}
.dropdown-menu a {color:#171717; text-decoration: none; display: block;}
.dropdown-menu a:hover {background-color: #f4f6f8; color:#B02227;}
.dropdown-toggle::after {display: none;}
.dropdown-item i {font-size:18px;}
.dropdown-header {font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #666; padding:6px 10px 8px;}
.menu-link,
.menu-toggle-content {display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:12px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap;}
.menu-link:hover,
.dropdown-toggle:hover .menu-toggle-content,
.dropdown.show .menu-toggle-content {background-color:#f3f5f7;}
.menu-icon {width:23px; height:23px; stroke:currentColor; stroke-width:2.1; fill:none; stroke-linecap:round; stroke-linejoin:round;}
.menu-icon-chevron {width:18px; height:18px; stroke:currentColor; stroke-width:2.1; fill:none; stroke-linecap:round; stroke-linejoin:round; transition: transform 0.2s ease;}
.dropdown.show .menu-icon-chevron {transform: rotate(180deg);}
.nav-dropdown-menu-areas {transform: translate3d(-16px, 62px, 0px) !important;}
.nav-dropdown-menu-mobile {min-width: 0; width: min(92vw, 360px); max-width: calc(100vw - 16px); transform: none !important; left: auto !important; right: 8px !important;}
.nav-dropdown-item {display:flex !important; align-items:center; justify-content:space-between; padding:10px 12px !important; border-radius:10px; font-size:18px; font-weight:600;}
.nav-dropdown-divider {margin:10px 4px; border-top:1px solid #ececec;}
.nav-item-arrow {width:16px; height:16px; stroke:currentColor; stroke-width:2.1; fill:none; stroke-linecap:round; stroke-linejoin:round; opacity:0.7;}
.menubtn-mobile .menu-toggle-content {padding:8px;}

@media (max-width: 991px) {
	.bioxydyn-logo {width:240px; margin-top:6px;}
}

@media (max-width: 1170px) {
	.menubar .nav-desktop-item {display:none !important;}
	.menubar .nav-mobile-item {display:inline-block !important;}
	.menubar .nav-mobile-item .dropdown-menu {
		position: fixed;
		top: 86px;
		right: 8px !important;
		left: auto !important;
		transform: none !important;
	}
}

@media (max-width: 767px) {
	body {margin-top:108px;}
	.anchor {height:90px; margin-top:-90px;}
	.header {height:90px;}
	.header-logo-col {min-height:90px;}
	.menubar {margin-top:20px;}
	.menu-icon {width:25px; height:25px;}
	.nav-dropdown-item {font-size:17px;}
	.nav-mobile-item .dropdown-menu {top: 78px;}
}

/* page blocks */
.white {background-color: #ffffff;}
.ltgrey {background-color: #e2e2e2;}
.mdgrey {background-color:#bfbfbf;}
.dkgrey {background-color:#282828;color:white;}

/* splash */
.wrapper {min-height:100vh;display:flex;align-items:center;}
.splash {min-height:100%;background-color: white}
@media (orientation: portrait) {.splash {margin-top:160px;margin-bottom:40px;}}
@media (max-width: 576px) {.splash {margin-top:10px;margin-bottom:20px;}}
@media (max-width: 576px) {.splash h2 {text-align: center;}}
@media (max-width: 576px) {.splash p {text-align: center;}}
#down-arrow {background-color: white;height:40px;color:#cccccc; margin-top: 15px; margin-bottom: 80px;}

/* areas */
.page-intro p{font-weight:400; font-size:22px; line-height:30px; text-align: center;}
.content-page {padding-top: 10px; padding-bottom: 20px;}
.content-page h2 {font-size: 36px; line-height: 44px; margin-bottom: 18px;}
.content-page h3 {font-size: 26px; line-height: 34px; text-align: left; margin-bottom: 12px;}
.content-page p {font-size: 20px; line-height: 30px;}
.content-page ul {font-size: 20px; line-height: 30px; padding-left: 22px;}
.content-section {padding-top: 24px; padding-bottom: 24px;}
.content-section-card {background-color: #f4f4f4; border-left: 4px solid #B02227; padding: 28px;}
.content-image-frame {padding: 10px; background: #f4f4f4; margin-bottom: 20px;}
.content-image-frame img {width: 100%; height: auto; display: block;}
.image-frame-small {max-width: 320px;}

/* What we do */
.section-kicker {text-transform: uppercase; letter-spacing: 0.14em; font-size:12px; font-weight:700; color:#B02227; margin-bottom:12px;}
.what-we-do-hero {background: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/crop-mr-scanner-grey.webp'); background-size: cover; background-position: center; color:#fff; padding:160px 0 60px; text-align:center; margin-top:-124px;}
.what-we-do-hero .hero-content {max-width: 860px; margin: 0 auto;}
.what-we-do-hero h1 {color:#fff; margin-bottom:20px;}
.what-we-do-hero p {color:#f2f2f2; font-size:20px; line-height:30px;}
.what-we-do-hero .section-kicker {color:#f3c2c4;}
.respiratory-hero {background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/crop-mask-grey.webp');}
.oncology-hero {background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/crop-oncology-grey.webp');}
.inflammation-hero {background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/crop-hands-grey.webp');}
.neuroimaging-hero {background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/crop-brain-grey.webp');}
.liver-hero {background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/crop-liver-grey.webp');}
.drug-safety-hero {background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/drug-safety.webp');}
.mrs-hero {background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/crop-brain-grey.webp');}
.voxelflow-hero {background-image: linear-gradient(180deg, rgba(24, 24, 24, 0.72), rgba(24, 24, 24, 0.88)), url('/static/images/crop-mr-scanner-grey.webp');}
.what-we-do-stats {background:#f4f4f4; padding:28px 0; text-align:center;}
.what-we-do-stats .stat-item h4 {margin-bottom:6px;}
.what-we-do-stats .stat-item p {margin-bottom:0; color:#333;}
.what-we-do-card {background:#fff; border-left:4px solid #B02227; padding:30px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08); position:relative;}
.what-we-do-card::after {
	content:"";
	display:block;
	clear:both;
}
.what-we-do-card-header {position:relative; margin-bottom:10px;}
.what-we-do-card-header .section-kicker {position:absolute; top:2px; left:0; margin:0; z-index:1;}
.what-we-do-card-header h3 {position:relative; z-index:2; margin:0 0 43px; text-align:center;}
.what-we-do-card-icon {
	width:88px;
	height:88px;
	float:right;
	margin:0 0 12px 16px;
}
.what-we-do-card-icon-row {
	display:flex;
	justify-content:flex-end;
	align-items:center;
	gap:8px;
	float:right;
	margin:0 0 12px 16px;
}
.what-we-do-card-icon-row .what-we-do-card-icon {
	width:72px;
	height:72px;
	float:none;
	margin:0;
}
.what-we-do-cta {background:#282828; color:#fff; text-align:center; padding:60px 0;}
.what-we-do-cta h3 {color:#fff;}
.what-we-do-cta p {color:#e6e6e6; margin-bottom:22px;}

@media (max-width: 1100px) {
	.what-we-do-card-header .section-kicker {display:none;}
	.what-we-do-card-icon {
		width:82px;
		height:82px;
	}
	.what-we-do-card-icon-row .what-we-do-card-icon {
		width:66px;
		height:66px;
	}
}

@media (max-width: 920px) {
	.what-we-do-card-icon,
	.what-we-do-card-icon-row {display:none;}
}

@media (max-width: 767px) {
	.content-page h2 {font-size: 30px; line-height: 36px;}
	.content-page h3 {font-size: 24px; line-height: 30px;}
	.content-page p, .content-page ul {font-size: 18px; line-height: 28px;}
	.what-we-do-hero {padding:130px 0 50px; margin-top:-108px;}
	.what-we-do-hero p {font-size:18px; line-height:28px;}
	.what-we-do-card {padding:24px;}
}

/* services */
.services {background-color: #282850; text-align: center; padding:40px; color:white; padding-left:20%;padding-right:20%}
.trial-management-page .services {background-color: #3a3a3a;}
.services a {color:#B02227;}
.services a:hover {color:#e0555a; text-decoration: none;}
img.arrow {height:30px; margin:30px;}
img.flow-icon {height:120px; margin:10px;}

.trial-services {
	background-color:#282828;
	color:white;
	text-align:center;
	padding:40px;
	padding-left:20%;
	padding-right:20%;
}
.trial-services a {color:#B02227;}
.trial-services a:hover {color:#e0555a; text-decoration:none;}
.trial-step-row {margin-bottom:6px;}
.trial-step-card {
	background:rgba(255, 255, 255, 0.04);
	border:1px solid rgba(255, 255, 255, 0.12);
	border-left:4px solid #B02227;
	border-radius:10px;
	box-shadow:0 8px 20px rgba(0, 0, 0, 0.2);
	padding:18px 20px 14px;
	max-width:860px;
	margin:0 auto;
}
.trial-step-header {
	display:block;
	margin-bottom:10px;
}
.trial-step-icon {
	width:120px;
	height:120px;
	display:block;
	margin:0 auto 8px;
}
.trial-step-card h3 {
	margin:0 0 8px;
	text-align:center;
	color:#fff;
}
.trial-step-list {
	margin:0 auto;
	padding-left:22px;
	width:100%;
	max-width:760px;
	display:block;
	box-sizing:border-box;
	text-align:left;
}
.trial-step-list li {
	margin:0 0 6px;
	line-height:1.3;
	color:#f0f0f0;
}
.trial-step-list li:last-child {margin-bottom:0;}
.trial-services img.arrow.trial-step-arrow {
	display:block;
	margin:14px auto 8px;
}

@media (max-width: 767px) {
	.trial-services {padding:28px 8%;}
	.trial-step-card {padding:16px 14px 12px;}
	.trial-step-header {margin-bottom:8px;}
	.trial-step-icon {
		width:104px;
		height:104px;
	}
	.trial-step-list {
		padding-left:18px;
	}
	.trial-step-list li {
		margin-bottom:4px;
		font-size:16px;
	}
	.trial-services img.arrow.trial-step-arrow {margin:10px auto 6px;}
}

/* contact */
.contact {background-color: #BFBFBF; text-align: center; padding:40px;}
/*.contact a {color:#000;}
.contact a:hover {color:#631310;}*/

/* customers */
.customers {background-color: #FFFFFF; text-align: center; padding:40px;}
.customers circle {r:6;}
.chart_div path {
stroke-width:1; /* control the countries borders width */
stroke:#6699cc; !important/* choose a color for the border */
}

/* Our People */
.about p{font-weight:400;font-size:14px;line-height: 18px}
.circle{border-radius: 50%; object-fit: cover; border-style:solid;color:#4a4a4a;border-width:10px;max-width:180px;}
@media (max-width: 768px) {.about h5 {text-align: center;}}
.linkedin {font-size:36px;text-align:center; color:#4a4a4a}
@media (min-width: 992px) {.linkedin {text-align: left;}}
.careers {background-color: #e2e2e2;}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* Block Animations - Subtle and Classy */
/* Default state - visible (progressive enhancement) */
.block-container {
	opacity: 1;
	transform: translateY(0);
}

/* Only apply animation states when JS is ready */
.animations-ready .block-container {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
				transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animations-ready .block-container.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.block-content,
.block-image {
	opacity: 1;
	transform: translateX(0);
}

.animations-ready .block-content,
.animations-ready .block-image {
	opacity: 0;
	transform: translateX(-20px);
	transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
				transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animations-ready .block-image {
	transform: translateX(20px);
}

.animations-ready .block-content.stagger-in,
.animations-ready .block-image.stagger-in {
	opacity: 1;
	transform: translateX(0);
}

/* Smooth image transitions */
.block-container img {
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
				box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.hero-image-large {
	width: 100%;
	max-width: 380px;
	margin: 0 auto;
	display: block;
}

.block-container img:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Heading animations */
.block-container h4,
.block-container h3 {
	opacity: 1;
	transform: translateY(0);
}

.animations-ready .block-container h4,
.animations-ready .block-container h3 {
	opacity: 0;
	transform: translateY(15px);
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
				transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.animations-ready .block-container.animate-in h4,
.animations-ready .block-container.animate-in h3 {
	opacity: 1;
	transform: translateY(0);
}

/* Subtle background transitions for different block styles */
.white, .ltgrey, .mdgrey, .dkgrey {
	transition: background-color 0.5s ease;
}

/* Add subtle shadow on alternate blocks for depth */
.block-container:nth-child(even) {
	position: relative;
}

/* Publications */
.publications-widget {
	margin-top: 6px;
}

.publication-controls {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
	align-items: end;
	margin: 14px 0 12px;
}

.publication-control {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 0;
}

.publication-control span {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #555;
}

.publication-input {
	border: 1px solid #cfd4d9;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 16px;
	line-height: 1.2;
	background: #fff;
}

.publication-input:focus {
	outline: none;
	border-color: #b02227;
	box-shadow: 0 0 0 2px rgba(176, 34, 39, 0.15);
}

.publication-count {
	font-size: 15px;
	color: #444;
	margin: 0 0 10px;
}

.publication-area-hint {
	margin-bottom: 10px;
	color: #555;
}

.publication-subtitle {
	text-align: left;
	margin: 14px 0 10px;
	font-size: 21px;
}

.publication-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}

.publication-card {
	border: 1px solid #e3e6ea;
	border-radius: 14px;
	padding: 14px;
	background: #fff;
}

.publication-card-key {
	border-color: rgba(176, 34, 39, 0.5);
	background: linear-gradient(140deg, #fff5f6 0%, #ffffff 65%);
	box-shadow: 0 0 0 1px rgba(176, 34, 39, 0.12), 0 10px 26px rgba(176, 34, 39, 0.18);
}

.publication-title {
	font-size: 20px;
	line-height: 1.3;
	margin-bottom: 10px;
	text-align: left;
}

.publication-key-tag {
	display: inline-block;
	margin-bottom: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(176, 34, 39, 0.1);
	border: 1px solid rgba(176, 34, 39, 0.25);
	color: #7a1e22;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.publication-title a {
	color: #111;
}

.publication-title a:hover {
	color: #b02227;
}

.publication-authors,
.publication-meta,
.publication-commentary {
	font-size: 16px;
	line-height: 1.45;
	margin-bottom: 8px;
}

.publication-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.publication-badge {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: #f0f2f5;
	color: #333;
}

.publication-commentary {
	margin-top: 10px;
	margin-bottom: 0;
	font-style: italic;
	color: #5a2c2e;
}

.publication-empty {
	margin: 16px 0 0;
	font-size: 16px;
	color: #666;
}

.block-container:nth-child(even)::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 100%);
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.block-container:nth-child(even).animate-in::before {
	opacity: 1;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
	.block-container,
	.block-content,
	.block-image,
	.block-container h4,
	.block-container img {
		transition: none;
		transform: none;
		opacity: 1;
	}
}
