.textboxwrapper {
	width: 100%;
	background-color: #f7f7f7;
}

.teamwrapper {
	width: 100%;
	padding-top: 50px;
}



.contenttilesep2 {
	width: 30%;
	max-width: 110px;
	display: block;
	height: 1px;
	background: black;
	margin: 40px auto;
}

.slidetext {
	width: auto;
	margin: 0px;
	/*margin-left:calc(50% - 600px);*/
	position: absolute;
	top: 150px;
	max-width: 1200px;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	padding: 40px 30px;
	font-size: 80px;
	text-transform: uppercase;
	font-weight: 600;
}

.slidetext span.damionfont {
	text-transform: lowercase;
}

.slidetext h1 {
	font-size: 3.5em;
	margin-bottom: 10px;
	font-weight: lighter;
	letter-spacing: 1px;
	color: #29aae2;
}

.slidetext p {
	font-size: 1.3em;
	line-height: 1.4em;
	height: 240px;
}

.slidetext .ibsabtt {
	margin-top: 20px;
}

#slidearrow {
	width: auto;
	display: table;
	margin: 10px auto;
	position: relative;
	z-index: 8000;
	display: block;
	/*margin-top:-75px;*/
}

#slidearrow a {
	font-size: 2.3em;
	color: white;
	display: none;
	width: 50px;
	height: 50px;
	border-radius: 25px;
	border: 2px solid white;
	font-weight: lighter;
	text-align: center;
	padding-top: 7px;
}

#cycle-pager {
	display: none;
	margin-top: 0px;
	margin-left: 3%;
	margin-top: 40px;
}

#cycle-pager span {
	font-size: 4.0em;
}

#slidearrow {
	margin-top: 40px;
}

.mainbox h2.nocaps {
	text-transform: none;
}

@media only screen and (max-width:1200px) {
	.slidetext {
		margin-left: 10%;
		font-size: 65px;
	}
}

@media only screen and (max-width:1100px) {

	.slidetext {
		display: none;
	}
}

/* ===== KV Active — Functional Intelligent Rehabilitation band ===== */
.rehabband {
	width: 100%;
	background: #145571;
}

.rehabband-inner {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 0;
}

.rehabband-tag {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255,255,255,0.14);
	color: #ffffff;
	font-family: 'Montserrat';
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.rehabband h2 {
	color: #ffffff;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	max-width: 680px;
}

.rehabband-intro {
	color: #dff2fb;
	font-size: 16px;
	line-height: 1.65;
	max-width: 680px;
	margin-top: 18px;
}

.rehabband-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 1020px;
	margin-top: 34px;
}

.rehabband-tags span {
	display: inline-flex;
	align-items: center;
	padding: 8px 15px;
	border-radius: 999px;
	background: rgba(255,255,255,0.1);
	color: #ffffff;
	font-family: 'Montserrat';
	font-size: 13px;
	font-weight: 500;
}

.rehabband-cta {
	margin-top: 36px;
}

@media screen and (max-width: 900px) {
	.rehabband-inner {
		padding: 56px 0;
	}

	.rehabband h2 {
		font-size: 26px;
	}
}

/* ===== KV Active — shared container ===== */
.kv-container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

.section-tag {
	display: inline-flex;
	align-items: center;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(41,170,226,0.12);
	color: #1d779e;
	font-family: 'Montserrat';
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 16px;
}

/* ===== Intro (welcome) ===== */
.textboxwrapper {
	padding: 70px 0 90px 0;
}

.kvintro {
	max-width: 720px;
	margin: 0 auto 70px auto;
	text-align: center;
}

.kvintro h1 {
	color: #29aae2;
	font-size: 2.3em;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
}

.kvintro p {
	font-size: 15.5px;
	line-height: 1.7;
	color: #535658;
}

/* ===== Value proposition ===== */
.valueprop-head {
	max-width: 680px;
	margin: 0 auto 48px auto;
	text-align: center;
}

.valueprop-head h2 {
	font-size: 1.9em;
	font-weight: 700;
	color: #1a1d20;
	text-transform: none;
}

.valueprop-head p {
	font-size: 15px;
	line-height: 1.65;
	color: #535658;
	margin-top: 14px;
}

.valueprop-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.valueprop-card {
	background: #ffffff;
	border: 1px solid #e8e8e9;
	border-radius: 10px;
	padding: 28px 24px;
}

.valueprop-card h3 {
	font-size: 16.5px;
	font-weight: 700;
	color: #1a1d20;
	margin-bottom: 10px;
}

.valueprop-card p {
	font-size: 13.5px;
	line-height: 1.6;
	color: #535658;
}

/* ===== The KV Active Way ===== */
.kvway {
	width: 100%;
	background: #ffffff;
	padding: 90px 0;
}

.kvway-flex {
	display: flex;
	gap: 60px;
	align-items: flex-start;
}

.kvway-intro {
	flex: 0 0 34%;
}

.kvway-intro h2 {
	font-size: 1.8em;
	font-weight: 700;
	color: #1a1d20;
	line-height: 1.2;
}

.kvway-intro p {
	font-size: 14.5px;
	line-height: 1.65;
	color: #535658;
	margin-top: 16px;
}

.kvway-intro .kvway-tagline {
	color: #1d779e;
	font-weight: 600;
}

.kvway-steps {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: #e8e8e9;
	border: 1px solid #e8e8e9;
	border-radius: 10px;
	overflow: hidden;
}

.kvway-step {
	background: #ffffff;
	padding: 28px;
}

.kvway-num {
	font-family: 'Montserrat';
	font-weight: 800;
	font-size: 14px;
	color: #29aae2;
	display: block;
	margin-bottom: 10px;
}

.kvway-step h3 {
	font-size: 15.5px;
	font-weight: 700;
	color: #1a1d20;
	margin-bottom: 6px;
}

.kvway-step p {
	font-size: 13px;
	line-height: 1.6;
	color: #535658;
}

/* ===== Team section header ===== */
.teamwrapper-head {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	padding-top: 20px;
}

.teamwrapper-head h2 {
	font-size: 1.9em;
	font-weight: 700;
	color: #1a1d20;
	text-transform: none;
}

/* ===== Team grid (homepage only — WhoWeAre.aspx keeps its own .team layout) ===== */
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin: 40px auto 90px auto;
}

.team-grid .team {
	position:relative;
	display: block;
	width: 100%;
	margin: 0;
	background: #ffffff;
	border: 1px solid #e8e8e9;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-grid .team:hover {
	box-shadow: 0 10px 26px rgba(26,29,32,0.1);
	transform: translateY(-2px);
}

.team-grid .team .image {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
}

.team-grid .team .image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.team-grid .team .description {
	float: none;
	width: 100%;
	max-width: none;
	padding: 20px 22px 24px 22px;
}

.team-grid .team .description h2 {
	font-size: 1.05em;
	margin-bottom: 3px;
	color: #1a1d20;
}

.team-grid .team .description h3 {
	font-size: 13px;
	margin-bottom: 0;
	color: #8c8e90;
	text-transform: none;
	font-weight: 500;
}

.team-grid .team .description div {
	width: 32px;
	height: 2px;
	background-color: #93c83f;
	margin: 12px 0 0 0;
}

.team-grid .team .bio {
	display:none;
	/*position:absolute;
	top:0;
	left:0;
	width:380px;*/
	font-weight: 400;
	font-size: 13px;
	line-height: 1.6;
	color: #535658;
	height: 0;
	opacity: 0;
	overflow: hidden;
	margin-top: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

/*.team-grid .team:hover .bio {
	height: 460px;
	opacity: 1;
	margin-top: 12px;
}*/

/* ===== Responsive ===== */
@media screen and (max-width: 1000px) {
	.valueprop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kvway-flex {
		flex-direction: column;
		gap: 36px;
	}

	.kvway-intro {
		flex: 1 1 auto;
	}

	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 640px) {
	.valueprop-grid {
		grid-template-columns: 1fr;
	}

	.kvway-steps {
		grid-template-columns: 1fr;
	}

	.team-grid {
		grid-template-columns: 1fr;
	}

	.kvintro h1 {
		font-size: 1.7em;
	}
}
