/* 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: 21px;}
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}
.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;}

/* 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: #fff; text-align: center; padding:40px;}
.footer p {font-size:14px; line-height: 15px; margin-bottom:0px;}
@media (min-width: 768px) {.footer p {font-size: 12px;line-height: 14px;}}
@media (min-width: 992px) {.footer p {font-size:14px;line-height: 18px;}}
.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;}
@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;}
}

/* services */
.services {background-color: #282828; text-align: center; padding:40px; color:white; padding-left:20%;padding-right:20%}
img.arrow {height:30px; margin:30px;}
img.flow-icon {height:120px; margin:10px;}

/* 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;
}

.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;
}

.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;
	}
}
