/* Hero Css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	padding: 100px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: transparent;
	overflow: hidden;
}

.slide-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: opacity 0.5s ease-in-out;
	opacity: 0.15;
	z-index: 0;
	
}
.blur {
	filter: blur(10px);
}
.circle {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #007ACC;  /* Updated to a medical/tech blue color */
	clip-path: circle(700px at right 600px);
	transition: background 0.5s ease-in-out;
}
/*-----------------------
Header Design---------*/
header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 20px 100px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header .logo {
	position: relative;
	max-width: 50px;
}
header .navigation {
	position: relative;
	display: flex;	
}
header .navigation #marker {
	position: absolute;
	left: 0;
	height: 4px;
	background: #111;
	bottom: -8px;
	transition: 0.5s ease-in-out;
	border-radius: 4px;
}
header .navigation li {
	list-style: none;
}
header .navigation li a {
	display: inline-block;
	color: #333;
	font-weight: 400;
	margin-left: 40px;
	text-decoration: none;
}
/*-----------------------
Content Design---------*/
.content {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/*TextBox Design*/
.content .textBox {
	position: relative;
	max-width: 600px;
}
.content .textBox h1 {
	color: #333;
	font-size: 4em;
	line-height: 1.4em;
	font-weight: 500;
}
.content .textBox h1 span {
	color: #000;
	font-size: 1.2em;
	font-weight: 900;
	text-transform: uppercase;
    opacity: 0.15;
}
.content .textBox h2 {
	position: absolute;
	background: #007ACC;
	clip-path: circle(80px at 70% 50%);
	top: 0;
	left: 0;
	color: transparent;
	font-size: 4em;
	line-height: 1.2em;
	font-weight: 500;
	-webkit-text-stroke: 2px;
	-webkit-text-stroke-color: #000;
	animation: 20s circlemoves linear infinite;
	transition: background 0.5s ease-in-out;
}
.content .textBox h2 span {
	color: transparent;
	font-size: 1.2em;
	font-weight: 900;
}
.content .textBox p {
	color: #333;
}
.content .textBox .button-group {
	display: flex;
	gap: 20px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.content .textBox a {
	display: inline-block;
	width: 180px;
	padding: 12px 24px;
	background: #007ACC;
	color: #fff;
	border-radius: 40px;
	font-weight: 500;
	text-decoration: none;
	overflow: hidden;
	transition: all 0.5s ease-in-out;
	text-align: center;
}

.content .textBox a.visit-site {
	background: transparent;
	border: 2px solid #007ACC;
	color: #007ACC;
}

.content .textBox a:hover {
	width: 200px;
	background: #005999;
}

.content .textBox a.visit-site:hover {
	background: #007ACC;
	color: #fff;
}
/*-----------------------
img Design-------------*/
.content .imgBox {
	width: 600px;
	height: 500px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 20px;
	animation: 5s imgmoves linear infinite;
	overflow: visible;
	transition: 0.5s ease-in-out;
	position: relative;
}
.content .imgBox img {
	position: absolute;
	left: 15%;
	width: 500px;
}
.content .imgBox .contentBox {
	position: absolute;
	max-width: 400px;
	display: flex;
	bottom: 0;
	padding: 10px 20px;
	flex-direction: column;
	opacity: 0;
	transition: 0.4s ease-in-out;
}

.content .imgBox .contentBox h2 {
	margin-top: 10px;
	transform: translateY(50px);
	transition: 0.5s;
	font-size: 1.2em;
	font-weight: 900;
	text-transform: uppercase;
	color: #000;
	opacity: 0;
	transition-delay: calc(0.1s * var(--i)); 	
}

.content .imgBox .contentBox p {
	margin-top: 10px;
	transform: translateY(75px);
	transition: 0.5s;
	font-size: 0.8em; 
	font-weight: 500;
	opacity: 0;
	transition-delay: calc(0.1s * var(--i));	
}

/*-----------------------
Thumbnail Design---------*/
.thumb {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	display: flex;
}
.thumb li {
	list-style: none;
	display: inline-block;
	margin: 0 20px;
	cursor: pointer;
	transition: 0.5s;
}
.thumb li:hover {
	transform: translateY(-15px);
}
.thumb li img {
	max-width: 60px;
	border-radius: 1000px;
}

/*-----------------------
Social Netxork Icons Design---------*/
.sci {
	position: absolute;
	top: 50%;
	right: 30px;
	transform: translateY(-50%);
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.sci li {
	list-style: none;
}
.sci li a {
	display: inline-block;
	margin: 30px 0;
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sci li a i {
	font-size: 25px;
	color: #000;
	filter: invert(1);
}

/*-----------------------
Circular menu---------*/
.circular-menu {
	position: fixed;
	bottom: 1em;
	right: 1em;
}
.circular-menu:after {
	display: block;
	content: '';
	width: 3.5em;
	height:3.5em;
	border-radius: 50%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -2;
	background-color: #002d1a;
	transition: all 0.3s ease;
}
.circular-menu.active:after {
	transform: scale3d(5.5, 5.5, 1);
	transition-timing-function: cubic-bezier(0.68, 1.55, 0.265, 1);
}

.circular-menu .floating-btn {
	display: block;
	width:3.5em;
	height: 3.4em;
	border-radius: 50%;
	background-color: hsl(4, 95%, 60%);
	box-shadow: 0 2px 5px 0 hsla(0, 0%, 0%, .26);
	color: #fff;
	text-align: center;
	line-height: 3.9;
	cursor: pointer;
	outline: 0;
}
.circular-menu.active .floating-btn {
	box-shadow: inset 0 0 3px hsla(0,0%, 0%, 0.3);
}
.circular-menu.floating-menu:active {
	box-shadow: 0 4px 8px 0 hsla(0, 0%, 0%, 0.4);
}
.circular-menu .floating-btn i {
	font-size: 1.3em;
	transition: transform 0.2s ease;
}
.circular-menu.active .floating-btn i {
	transform: rotate(-45deg);
}
.circular-menu .menu-item {
	position: absolute;
	top: 0.2em;
	right: 0.2em;
	z-index: -1;
	display: block;
	text-decoration: none;
	color: #fff;
	font-size: 1em;
	width: 3em;
	height: 3em;
	border-radius: 50%;
	text-align: center;
	line-height: 3;
	background-color: hsla(0, 0%, 0%, 0.1);
	transition: transform 0.3s ease, background 0.2s ease;
}
.circular-menu .menu-item:hover {
	background-color: #017143;
} 
.circular-menu.active .menu-item {
	transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.circular-menu.active .menu-item:nth-child(1) {
  transform: translate3d(1em,-7em,0);
}

.circular-menu.active .menu-item:nth-child(2) {
  transform: translate3d(-3.5em,-6.3em,0);
}

.circular-menu.active .menu-item:nth-child(3) {
  transform: translate3d(-6.5em,-3.2em,0);
}

.circular-menu.active .menu-item:nth-child(4) {
  transform: translate3d(-7em,1em,0);
}
/*-----------------------
Animations---------*/
@keyframes imgmoves {
	0% {
		transform: translateY(0);
	}
	25% {
		transform: translateY(-20px);
	}
	50% {
		transform: translateY(20px);
	}
	100% {
		transform: translateY(0);
	}
}

@keyframes circlemoves {
	0% {
		clip-path: circle(80px at 70% 50%);
	}
	50% {
		clip-path: circle(80px at 20% 50%);
	}
	100% {
		clip-path: circle(80px at 70% 50%);
	}
}

/*-----------------------
Responsive Design
-----------------------*/
/* Base responsive settings */
section {
    padding: clamp(20px, 5vw, 100px);
    min-height: 100vh;
    overflow-x: hidden;
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    gap: clamp(20px, 4vw, 60px);
}

/* Fluid Typography */
.content .textBox h1 {
    font-size: clamp(2.5rem, 5vw, 4em);
    line-height: 1.2;
    margin-bottom: clamp(1rem, 2vw, 2rem);
}

.content .textBox p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.vertical-text {
    font-size: clamp(6vh, 10vw, 13vh);
    right: clamp(2%, 3vw, 5%);
}

/* Large Screens (1400px and up) */
@media (min-width: 1400px) {
    .content {
        max-width: 1600px;
    }
    
    .content .imgBox {
        width: 700px;
        height: 600px;
    }
    
    .content .imgBox img {
        max-width: 400px;
    }
}

/* Desktop (1200px and down) */
@media (max-width: 1200px) {
    .content {
        padding: 0 clamp(20px, 4vw, 60px);
    }
    
    .circle {
        clip-path: circle(600px at right 500px);
    }
    
    .content .imgBox {
        width: 500px;
        height: 450px;
    }
}

/* Tablet Landscape (992px and down) */
@media (max-width: 992px) {
    .content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .content .textBox {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .circle {
        clip-path: circle(500px at center bottom);
    }
    
    .content .imgBox {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .vertical-text {
        display: none;
    }
    
    .sci {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 30px;
    }
    
    .sci li {
        margin: 0 15px;
    }
}

/* Tablet Portrait (768px and down) */
@media (max-width: 768px) {
    section {
        padding: 80px 20px;
    }
    
    .circle {
        clip-path: circle(400px at center bottom);
    }
    
    .content .imgBox {
        height: 400px;
    }
    
    .content .imgBox img {
        max-width: 280px;
    }
    
    .thumb {
        bottom: 10px;
    }
    
    .thumb li {
        margin: 0 10px;
    }
    
    .thumb li img {
        max-width: 50px;
    }
}

/* Mobile (576px and down) */
@media (max-width: 576px) {
    section {
        padding: 60px 15px;
    }
    
    .circle {
        clip-path: circle(300px at center bottom);
    }
    
    .content .textBox a {
        width: 100%;
        max-width: 250px;
    }
    
    .content .textBox a:hover {
        width: 100%;
        max-width: 280px;
    }
    
    .content .imgBox {
        height: 350px;
    }
    
    .content .imgBox img {
        max-width: 220px;
    }
    
    .thumb {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    .thumb li {
        margin: 0 5px;
    }
    
    .thumb li img {
        max-width: 40px;
    }

    /* Hide social media icons on mobile */
    .sci {
        display: none;
    }
}

/* Small Mobile (375px and down) */
@media (max-width: 375px) {
    section {
        padding: 40px 10px;
    }
    
    .circle {
        clip-path: circle(250px at center bottom);
    }
    
    .content .imgBox {
        height: 300px;
    }
    
    .content .imgBox img {
        max-width: 180px;
    }
}

/* Height-based Media Queries */
@media (max-height: 700px) {
    section {
        min-height: 600px;
    }
    
    .content {
        gap: 20px;
    }
    
    .content .imgBox {
        height: 300px;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    section {
        min-height: 500px;
        padding: 20px;
    }
    
    .content {
        flex-direction: row;
        align-items: center;
    }
    
    .content .textBox {
        margin-bottom: 0;
        text-align: left;
    }
    
    .content .imgBox {
        height: 250px;
    }
    
    .thumb {
        bottom: 5px;
    }
    
    .sci {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        margin-top: 0;
    }
}

/* Hero Section Fade Effects */
.starbucks {
    transition: opacity 0.3s ease-in-out;
}

.contentBox {
    transition: opacity 0.3s ease-in-out;
}

.circle, #circle02, #info {
    transition: background-color 0.3s ease-in-out;
}

.thumb li img {
    transition: transform 0.3s ease-in-out;
}

.thumb li img:hover {
    transform: scale(1.1);
}


/* Vertical Text Styles */
.vertical-text {
    position: absolute;
    right: 5%;
    top: 80%;
    transform: rotate(90deg) translateY(-50%);
    transform-origin: center right;
    font-size: 13vh;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    z-index: 2;
    letter-spacing: -1vh;
    line-height: 0.8;
    opacity: 0.15;
    font-family: 'Arial Black', sans-serif;
    color: #000;


}

/* Specific styles for each company's vertical text */
.vertical-text.ebres {
    color: rgba(0, 0, 0, 0.15); /* EBRES blue */
    top: 80%;
}

.vertical-text.medx {
    color: rgba(0, 0, 0, 0.15); /* MEDX pink */
    top: 80%;
}

.vertical-text.orthox {
    color: rgba(0, 0, 0, 0.15); /* ORTHOX purple */
     top: 95%;
}

.vertical-text.gasflowx {
    color: rgba(0, 0, 0, 0.15); /* GASFLOWX orange */
	top: 100%;
}
/* Image fade + zoom animation */
@keyframes imageFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes imageFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.05);
  }
}

.imgBox img.animate-in {
  animation: imageFadeIn 0.6s ease forwards;
}

.imgBox img.animate-out {
  animation: imageFadeOut 0.6s ease forwards;
}



