@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700);
@import url(https://fonts.googleapis.com/css?family=Heebo:400,700,800,900);
@import url(https://fonts.googleapis.com/css2?family=Knewave&family=Nothing+You+Could+Do:wght@400;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Knewave&family=Nothing+You+Could+Do&family=Oooh+Baby&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Knewave&family=Nothing+You+Could+Do&family=Oooh+Baby&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap);
@import url(https://fonts.googleapis.com/css?family=Barlow+Condensed:400,500&display=swap);
/*@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');*/
/*@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');*/

@font-face {
	font-family: 'HaveHeartOne';
	src: url('/fonts/HaveHeartOne.eot?#iefix') format('embedded-opentype'),
		url('/fonts/HaveHeartOne.otf') format('opentype'),
		url('/fonts/HaveHeartOne.woff') format('woff'),
		url('/fonts/HaveHeartOne.ttf') format('truetype'),
		url('/fonts/HaveHeartOne.svg#HaveHeartOne') format('svg');
	font-weight: normal;
	font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
var,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video,
ul,
li {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	font-weight: normal;
	vertical-align: baseline;
	background: transparent;
	list-style: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	font-family: 'Heebo', sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	line-height: 32px;
	color: #222222;
	background: #f2f0e9;
	visibility: visible;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Global design tokens */
:root {
	--space-xs: clamp(4px, 1.2vw, 8px);
	--space-sm: clamp(8px, 2vw, 12px);
	--space-md: clamp(12px, 3vw, 20px);
	--space-lg: clamp(16px, 4vw, 28px);
	--radius-card: 20px;
	--arrow-width: 32px; /* slightly smaller than design for non-overlap */
	--arrow-height: 64px;
	--arrow-gap: 24px; /* space between arrow and carousel content */
	--arrow-safe: 8px; /* guaranteed extra spacing between arrow and nearest card */
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
	* {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* Images scale safely inside containers */
img {
	max-inline-size: 100%;
	block-size: auto;
}

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

*,
*:before,
*:after {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	outline: none;
	position: relative;
}

.clearfix:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: block;
}

a {
	color: #1e8281;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
}

a:hover {
	text-decoration: underline;
}

.page-loader {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.page-loader svg {
	display: block;
	width: 64px;
}

.container {
	max-width: 1170px;
	width: calc(100% - 30px);
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}

.burger {
	height: 3em;
	width: 2.5em;
	position: relative;
	font-size: 12px;
	cursor: pointer;
	transition: 0.2s all;
	display: none;
}

.burger:after {
	content: '';
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0%;
	left: 0%;
}

.burger .burger-lines {
	top: 50%;
	margin-top: -0.125em;
}

.burger .burger-lines,
.burger .burger-lines:after,
.burger .burger-lines:before {
	pointer-events: none;
	display: block;
	content: '';
	width: 100%;
	border-radius: 0.25em;
	background-color: white;
	height: 0.25em;
	position: absolute;
	transform: rotate(0);
}

.burger .burger-lines .burger-lines:after {
	left: 0;
	top: -0.75em;
}

.burger .burger-lines .burger-lines:before {
	left: 0;
	top: 0.75em;
}

.burger.burger-squeeze .burger-lines,
.burger.burger-squeeze .burger-lines:after,
.burger.burger-squeeze .burger-lines:before {
	transition: 0.2s top 0.2s, 0.1s left, 0.2s transform,
		0.4s background-color 0.2s;
}

.burger.burger-squeeze .burger-lines:after,
.burger.burger-squeeze .burger-lines:before {
	width: 100%;
}

.burger.burger-squeeze .burger-lines:after {
	left: 0;
	top: -0.75em;
}

.burger.burger-squeeze .burger-lines:before {
	left: 0;
	top: 0.75em;
}

.burger.burger-squeeze.open .burger-lines,
.burger.burger-squeeze.open .burger-lines:after,
.burger.burger-squeeze.open .burger-lines:before {
	transition: 0.2s background-color, 0.2s top, 0.2s left, 0.2s transform 0.15s;
}

.burger.burger-squeeze.open .burger-lines {
	background-color: transparent;
}

.burger.burger-squeeze.open .burger-lines:before,
.burger.burger-squeeze.open .burger-lines:after {
	left: 0px;
	top: 0px;
}

.burger.burger-squeeze.open .burger-lines:before {
	transform: rotate(-45deg);
}

.burger.burger-squeeze.open .burger-lines:after {
	transform: rotate(45deg);
}

.hide {
	display: none;
}

#contact {
	background-color: #ffffff !important;
}

.contact-page {
	background-color: #ffffff !important;
}

.contact-left {
	background-color: #ffffff !important;
}
.contact-left img {
	margin-right: 50px;
	width: 45%;
	height: 100%;
	float: left;
}

.contact-right {
	width: 50%;
	height: 100%;
	float: right;
	padding: 40px 40px;
	background-color: #ffffff;
}

.contact-right h2 {
	font-size: 30px;
	color: #8ca3ab;
	margin-bottom: 20px;
	text-align: center;
}

.contact-right h3 {
	font-size: 18px;
	color: #8ca3ab;
	margin: 0 auto;
}

.contact-form {
	padding-left: 30px;
	margin: 50px auto;
}

.contact-form ul li {
	margin: 20px auto;
	padding-bottom: 20px;
}

.contact-form ul li label {
	font-size: 16px;
	line-height: 38px;
	color: #8ca3ab;
	vertical-align: top;
	width: 180px;
	position: relative;
	float: left;
}

.contact-form ul li label small {
	font-size: 12px;
	margin-left: 5px;
}

.contact-form ul li input[type='text'],
.contact-form ul li input[type='email'],
.contact-form ul li textarea {
	font-size: 16px;
	color: #7e7876;
	border-color: #8ca3ab;
	width: 90%;
	border-top: 0;
	border-left: 0;
	border-right: 0;
}

.contact-form ul li textarea {
	height: 100px;
}

.contact-form ul li button {
	font-size: 16px;
	color: #ffffff;
	margin-right: 10%;
	background: #8ca3ab;
	float: right;
}

.contact-form ul li label.error {
	color: red;
}

.submit-button {
	width: 140px;
	height: 40px;
	text-align: center;
	border: 0;
}

@media screen and (max-width: 1023px) {
	.container {
		padding-left: 50px;
		padding-right: 50px;
	}
}

@media screen and (max-width: 768px) {
	body {
		font-size: 16px;
		line-height: 28px;
	}
}

@media screen and (max-width: 767px) {
	.container {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Team Carousel Styles - Matching the Design with Active State */
.team-carousel-container {
	position: relative;
	max-width: 1260px;
	min-height: 350px;
	margin: 0 auto;
	padding: 0; /* gutters will live on inner carousel so arrows don't overlap cards */
	overflow: hidden;
}

.team-carousel {
	position: relative;
	overflow: visible;
	padding: 0 calc(var(--arrow-width) + var(--arrow-gap) + var(--arrow-safe)); /* reserve horizontal gutters for arrows */
}

/* Swiper integration styles */
.team-swiper {
	padding: 0;
	overflow: visible;
}

.team-swiper .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.team-swiper .swiper-slide {
	height: auto;
	display: flex;
	align-items: stretch;
}

.team-swiper .swiper-slide .team-card {
	flex-shrink: 0;
	padding: 100px 15px 30px;
	box-sizing: border-box;
	transition: all 0.1s cubic-bezier(0.5, 0, 0.5, 1);
	width: 100%;
	height: 100%;
}

/* Hide Swiper's default navigation buttons */
.team-swiper .swiper-button-next,
.team-swiper .swiper-button-prev {
	display: none !important;
}

.team-carousel:before,
.team-carousel:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: calc(var(--arrow-width) + var(--arrow-gap) + var(--arrow-safe));
	background: #f2f0e9;
	z-index: 6;
	pointer-events: none;
}
.team-carousel:before {
	left: 0;
}
.team-carousel:after {
	right: 0;
}

.team-carousel .team-slides-wrapper {
	display: flex;
	transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
	width: 100%;
	margin: 0;
}

.team-carousel .team-card {
	flex-shrink: 0;
	padding: 100px 15px 30px;
	box-sizing: border-box;
	transition: all 0.1s cubic-bezier(0.5, 0, 0.5, 1);
}

/* Keep uniform slide heights; apply emphasis to inner content only */
.team-carousel .team-card {
	transform: none;
}
.team-carousel .team-card.active {
	z-index: 2;
	transform: scale(1.08);
}

.team-carousel .team-card:not(.active) {
	transform: scale(0.92);
}

.team-carousel .team-card-content {
	position: relative;
	padding: 100px 50px 50px;
	border-radius: 20px;
}

.team-carousel .profile-image-container {
	position: absolute;
	top: -80px;
	left: 50%;
	transform: translateX(-50%);
	width: 160px;
	height: 160px;
	min-width: 160px;
	min-height: 160px;
	border-radius: 50%;
	transition: all 0.3s ease;
}

/* Smaller image for non-active slides */
.team-carousel .team-card:not(.active) .profile-image-container {
	width: 120px;
	height: 120px;
	top: -60px;
}



.team-carousel .profile-image {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}

.team-carousel .team-details {
	text-align: center;
	color: white;
	margin-top: 20px;
}

.team-carousel .team-name {
	font-size: 24px;
	font-weight: bold;
	color: white;
	margin: 0 0 8px 0;
	line-height: 1.2;
	white-space: nowrap;
}

.team-carousel .team-title {
	font-size: 18px;
	font-weight: 200;
}

.team-carousel .plus-icon {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	/* background: rgba(255, 255, 255, 0.2); */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

/* Larger plus icon for active slide */
.team-carousel .team-card.active .plus-icon {
	width: 32px;
	height: 32px;
	font-size: 24px;
}

/* Smaller plus icon for non-active slides */
.team-carousel .team-card:not(.active) .plus-icon {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.team-carousel .plus-icon:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.arrow {
	width: 50px !important;
	height: 50px !important;
}

.team-carousel .nav-arrow {
	position: absolute;
	top: 60%;
	transform: translateY(-50%);
	background: none;
	border: none;
	width: auto;
	height: auto;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.3s ease;
	z-index: 10;
	color: #386994; /* Figma color for arrows */
}

.team-carousel .nav-arrow:hover {
	transform: translateY(-50%) scale(1.05);
}

.team-carousel .nav-arrow-left {
	left: var(--arrow-gap);
}

.team-carousel .nav-arrow-right {
	right: var(--arrow-gap);
}

.team-carousel .arrow {
	width: var(--arrow-width);
	height: var(--arrow-height);
}

/* Extra gutter whenever two slides are shown to avoid arrow overlap */
.team-carousel.slides-2 {
	--arrow-gap: 28px;
}

@media (max-width: 480px) {
	.team-carousel.slides-2 {
		--arrow-gap: 24px;
	}
}

.team-carousel .team-card.active.open {
	width: 100%;
	transform: scale(1);
	padding: 45px 15px 30px;
}

.team-carousel .team-card.active.open .team-card-content {
	padding: 50px;
	display: flex;
	align-items: center;
	gap: 30px;
}

.team-carousel .team-card.active.open .profile-image-container {
	position: relative;
	top: inherit;
	left: inherit;
	transform: none;
}
.team-carousel .team-card.active.open .profile-image {
	width: 135%;
	height: 200%;
	border-radius: 20px !important;
	object-fit: cover;
	bottom: 80px;
	position: relative;
}

.team-carousel .team-card.active.open .team-details {
	text-align: left;
	padding: 0 40px 0 50px;
}
.team-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999;
	padding: 20px;
	overflow-y: auto;
}

.team-popup-overlay .team-card.active.open {
	max-width: 900px;
	width: 100%;
	/*max-height: 560px;*/
	transform: none;
	padding: 0;
	border-radius: 20px;
	color: white;
	overflow: visible;
	position: relative;
}

.team-popup-overlay .team-card.active.open .team-card-content {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 30px;
	padding: 25px 25px 20px 0;
	/*max-height: 560px;*/
	/* overflow: hidden; */
	min-width: 0;
	border-radius: 20px;
	position: relative;
}

.team-popup-overlay .profile-image-container {
	width: 250px;
	height: 420px;
	flex-shrink: 0;
	overflow: visible;
	border-radius: 15px;
	margin-left: 25px;
	margin-top: -34px;
	margin-bottom: -40px;
}

.team-popup-overlay .profile-image {
	width: 100%;
	height: 100%;
	border-radius: 15px;
	object-fit: cover;
	display: block;
}

.team-content {
	flex: 1;
	/*general height of the container and image on large screens. fix  responsiveness on all media querries*/
	max-height: 450px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	position: relative;
	padding: 25px 25px 25px 0;
	overflow: auto;
	scroll-behavior: smooth;
	/* Optional scrollbar styling for Chrome */
	scrollbar-width: thin;
	scrollbar-color: #ccc transparent;
}

.team-content::-webkit-scrollbar {
	width: 6px;
}

.team-content::-webkit-scrollbar-track {
	background: transparent;
}

.team-content::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 3px;
}

.team-popup-overlay .team-details {
	flex: 1;
	text-align: left;
	font-family: 'Roboto', sans-serif;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-right: 10px;
}

.team-popup-overlay .team-name {
	font-weight: bolder;
	font-size: clamp(26px, 6vw, 50px);
	line-height: 1.2;
	overflow-wrap: break-word;
	word-break: break-word;
}

.team-popup-overlay .team-title {
	font-weight: bold;
	font-size: clamp(16px, 3.5vw, 22px);
	color: #000000;
	opacity: 60%;
	line-height: 1.3;
	overflow-wrap: break-word;
	word-break: break-word;
}

.team-popup-overlay .team-desc {
	font-size: clamp(12px, 3.5vw, 18px);
	font-family: 'Roboto', sans-serif;
	font-weight: 100;
	line-height: 1.5;
	overflow-wrap: break-word;
	word-break: break-word;
	white-space: normal;
}

.team-popup-overlay .plus-icon {
	position: absolute;
	top: 2px;
	right: 3px;
	transition: background 0.3s ease, transform 0.3s ease;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.team-popup-overlay .plus-icon span {
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
	display: block;
}

.team-popup-overlay .plus-icon:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

@media (max-width: 425px) {
	.team-popup-overlay .team-card.active.open .team-card-content {
		padding: 0 0 10px 0;
		height: auto;
		position: relative;
	}
	.team-popup-overlay .team-card.active.open {
		max-height: 100vh;
	}
	.team-popup-overlay .profile-image-container {
		width: 150px !important;
		height: 150px !important;
		margin: -50px 0 0 0;
	}

	.team-content {
		padding: 15px 15px 10px 15px !important;
		height: fit-content;
	}

	.team-popup-overlay .team-name {
		font-size: 22px !important;
		line-height: 1.1;
	}

	.team-popup-overlay .team-title {
		font-size: 18px !important;
	}

	.team-popup-overlay .team-desc {
		font-size: 12px !important;
	}

	.team-popup-overlay .plus-icon {
		top: 15px !important;
		right: 15px !important;
	}
}

@media (max-width: 892px) {
	.team-carousel .team-card.active.open {
		padding: 5px 15px 30px;
	}
}

/* Mobile single-slide mode - all cards should appear uniform */
@media (max-width: 767px) {
	.team-swiper .swiper-slide {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
	}
	.team-carousel .team-card {
		transform: none !important; /* Remove scale transforms on mobile */
		max-width: 280px;
		margin: 0 auto;
	}
	.team-carousel .team-card .profile-image-container {
		width: 140px !important;
		height: 140px !important;
		top: -70px !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
	}
	.team-carousel .team-card-content {
		padding: 90px 30px 40px !important;
		text-align: center;
	}
	.team-carousel .team-details {
		margin-top: 30px;
		text-align: center;
	}
	.team-carousel .team-name {
		font-size: 22px !important;
		white-space: normal !important;
	}
	.team-carousel .team-title {
		font-size: 16px !important;
	}
}

@media (max-width: 480px) {
	.team-carousel .team-card {
		padding: 70px 8px 20px;
		max-width: 260px;
	}
	.team-carousel .team-card .profile-image-container {
		width: 120px !important;
		height: 120px !important;
		top: -60px !important;
	}
	.team-carousel .team-card-content {
		padding: 80px 20px 30px !important;
	}
	.team-carousel .team-details {
		margin-top: 25px;
	}
	.team-carousel .team-name {
		font-size: 20px !important;
	}
	.team-carousel .team-title {
		font-size: 15px !important;
	}
	.team-carousel .nav-arrow {
		top: 50%;
	}
	.team-carousel .nav-arrow-left {
		left: var(--arrow-gap);
	}
	.team-carousel .nav-arrow-right {
		right: var(--arrow-gap);
	}
	:root {
		--arrow-width: 24px;
		--arrow-height: 48px;
		--arrow-gap: 22px; /* extra gutter to avoid overlap on small screens */
	}
}

@media (max-width: 360px) {
	.team-carousel .team-card {
		padding: 60px 6px 18px;
		max-width: 240px;
	}
	.team-carousel .team-card .profile-image-container {
		width: 110px !important;
		height: 110px !important;
		top: -55px !important;
	}
	.team-carousel .team-card-content {
		padding: 70px 15px 25px !important;
	}
	.team-carousel .team-details {
		margin-top: 20px;
	}
	.team-carousel .team-name {
		font-size: 18px !important;
	}
	.team-carousel .team-title {
		font-size: 14px !important;
	}
	.team-popup-overlay .team-name {
		font-size: 22px !important;
	}
	.team-popup-overlay .team-title {
		font-size: 16px !important;
	}
	.team-popup-overlay .team-desc {
		font-size: 12px !important;
	}
}

/* Ensure a guaranteed extra safety gap near arrows at smaller widths */
@media (max-width: 768px) {
	:root {
		--arrow-safe: 10px;
	}
}
@media (max-width: 480px) {
	:root {
		--arrow-safe: 14px;
	}
}

/* Mobile-friendly popup orientation */
@media (max-width: 720px) {
	.team-popup-overlay .team-card.active.open {
		max-height: 90vh;
		height: auto;
		padding: 0;
		overflow: visible;
	}

	.team-popup-overlay .team-card.active.open .team-card-content {
		flex-direction: column;
		align-items: center;
		gap: 0;
		padding: 0 0 20px 0;
		max-height: 90vh;
		position: relative;
		/* overflow: auto; */
	}

	.team-popup-overlay .profile-image-container {
		width: 140px;
		height: 140px;
		border-radius: 50% !important;
		margin: -70px 0 0 0;
		overflow: hidden;
	}

	.team-popup-overlay .profile-image {
		border-radius: 50% !important;
	}

	.team-content {
		width: 100%;
		padding: 20px 20px 0 20px;
		overflow: visible;
		height: 100%;
	}

	.team-popup-overlay .team-details {
		text-align: left;
		width: 100%;
		padding-right: 0;
	}

	.team-popup-overlay .plus-icon {
		position: absolute;
		top: 15px;
		right: 15px;
		margin-top: 0;
	}

	.team-popup-overlay .plus-icon span {
		position: static !important;
		top: auto !important;
		left: auto !important;
	}
}
@media (max-width: 992px) {
	.team-carousel .team-card.active.open .team-card-content {
		padding: 40px 30px;
		gap: 25px;
	}

	.team-popup-overlay .profile-image-container {
		width: 220px;
		height: 380px;
		margin-left: 20px;
		margin-top: -30px;
		margin-bottom: -40px;
		border-radius: 15px;
		overflow: hidden;
	}

	.team-popup-overlay .profile-image {
		border-radius: 15px;
	}

	.team-content {
		max-height: 400px;
		padding: 20px 20px 20px 0;
	}

	.team-popup-overlay .team-details {
		padding-right: 5px;
	}
}

/* Medium mobile fixes */
@media (max-width: 768px) {
	.team-carousel .team-card.active.open .team-card-content {
		padding: 30px 20px;
		gap: 20px;
	}

	.team-popup-overlay .profile-image-container {
		width: 200px;
		height: 340px;
		margin-left: 15px;
		margin-top: -25px;
		margin-bottom: -35px;
		border-radius: 15px;
		overflow: hidden;
	}

	.team-popup-overlay .profile-image {
		border-radius: 15px;
	}

	.team-content {
		max-height: 360px;
		padding: 15px 15px 15px 0;
	}

	.team-popup-overlay .team-name {
		font-size: clamp(22px, 5vw, 32px);
	}

	.team-popup-overlay .team-title {
		font-size: clamp(14px, 3vw, 18px);
	}

	.team-popup-overlay .team-desc {
		font-size: clamp(12px, 2.8vw, 16px);
	}
}

/* Circular images on mobile - 720px and below */
@media (max-width: 720px) {
	.team-popup-overlay .team-card.active.open {
		max-width: 95vw;
		margin: 20px;
		overflow: visible; /* Allow image to overflow */
	}

	.team-popup-overlay .team-card.active.open .team-card-content {
		padding: 70px 0 25px 0; /* Top padding = half image height */
		gap: 15px;
		flex-direction: column;
		align-items: center;
		overflow: visible; /* Allow image to overflow */
		position: relative;
	}

	/* Circular image with half outside container */
	.team-popup-overlay .profile-image-container {
		width: 140px;
		height: 140px;
		margin: -135px auto 15px auto;
		border-radius: 50% !important;
		overflow: hidden;
		flex-shrink: 0;
		border: none;
		position: relative;
		z-index: 2;
	}

	.team-popup-overlay .profile-image {
		border-radius: 50% !important;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.team-content {
		max-height: none;
		padding: 0 20px;
		overflow: visible;
		width: 100%;
		position: relative;
		z-index: 1;
	}

	.team-popup-overlay .team-details {
		text-align: center;
		gap: 8px;
		width: 100%;
	}

	.team-popup-overlay .team-desc {
		font-size: 16px;
		line-height: 1.5;
	}

	.team-popup-overlay .plus-icon {
		position: absolute;
		bottom: 15px;
		right: 15px;
		margin: 0;
	}
}

/* Extra small mobile fixes */
@media (max-width: 480px) {
	.team-popup-overlay .team-card.active.open {
		max-width: 90vw;
		margin: 10px;
	}

	.team-popup-overlay .team-card.active.open .team-card-content {
		padding: 60px 0 20px 0;
		position: relative;
	}

	/* Circular image */
	.team-popup-overlay .profile-image-container {
		width: 120px;
		height: 120px;
		margin: -90px auto 10px auto;
	}

	.team-content {
		padding: 0 15px;
	}

	.team-popup-overlay .team-name {
		font-size: 20px;
		line-height: 1.1;
	}

	.team-popup-overlay .team-title {
		font-size: 16px;
	}

	.team-popup-overlay .team-desc {
		font-size: 16px;
		line-height: 1.5;
	}
}

@media (max-width: 360px) {
	.team-popup-overlay .team-card.active.open {
		max-width: 95vw;
	}

	.team-popup-overlay .team-card.active.open .team-card-content {
		padding: 50px 0 15px 0;
		position: relative;
	}

	/* Circular image */
	.team-popup-overlay .profile-image-container {
		width: 100px;
		height: 100px;
		margin: -75px auto 8px auto;
	}

	.team-content {
		padding: 0 12px;
	}

	.team-popup-overlay .team-name {
		font-size: 18px;
	}

	.team-popup-overlay .team-title {
		font-size: 14px;
	}

	.team-popup-overlay .team-desc {
		font-size: 14px;
		line-height: 1.5;
	}
}

@media (max-width: 720px) {
	.team-popup-overlay {
		padding: 10px;
		overflow: visible;
	}

	.team-popup-overlay .team-card.active.open {
		width: calc(100vw - 20px);
		overflow: visible;
	}
}

.team-popup-overlay .team-details * {
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

@media (max-width: 720px) {
	.team-popup-overlay .profile-image-container {
		border-radius: 50% !important;
	}

	.team-popup-overlay .profile-image {
		border-radius: 50% !important;
	}
}

.team-content {
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.team-content::-webkit-scrollbar {
	width: 4px;
}

.team-content::-webkit-scrollbar-track {
	background: transparent;
}

.team-content::-webkit-scrollbar-thumb {
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
}

.team-popup-overlay .team-card.active.open {
	box-sizing: border-box;
}

