/* -------------------------------------------------------------------------
 * Our Team section
 * ---------------------------------------------------------------------- */
.team-section .team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	justify-items: center;
	margin-top: 48px;
}

.team-card {
	position: relative;
	width: 220px;
	height: 320px;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.08), -20px -20px 60px rgba(255, 255, 255, 0.9);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover {
	transform: translateY(-6px);
	box-shadow: 24px 24px 70px rgba(0, 0, 0, 0.12), -24px -24px 70px rgba(255, 255, 255, 0.95);
}

.team-card-blob {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background-color: var(--blob-color, #1a7fd0);
	opacity: 0.85;
	filter: blur(20px);
	animation: team-blob-bounce 6s infinite ease;
}

@keyframes team-blob-bounce {
	0% {
		transform: translate(-100%, -100%) translate3d(0, 0, 0);
	}
	25% {
		transform: translate(-100%, -100%) translate3d(100%, 0, 0);
	}
	50% {
		transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
	}
	75% {
		transform: translate(-100%, -100%) translate3d(0, 100%, 0);
	}
	100% {
		transform: translate(-100%, -100%) translate3d(0, 0, 0);
	}
}

.team-card-bg {
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	z-index: 2;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(24px);
	border-radius: 12px;
	outline: 2px solid #fff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.team-card-photo {
	height: 55%;
	width: 100%;
	overflow: hidden;
	flex-shrink: 0;
}

.team-card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.team-card-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12px 14px;
	gap: 4px;
}

.team-card-name {
	font-size: 15px;
	font-weight: 600;
	margin: 0;
	color: #12181f;
}

.team-card-name {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.team-card-linkedin {
	display: inline-flex;
	color: var(--blob-color, #1a7fd0);
	transition: opacity 0.2s ease;
}

.team-card-linkedin:hover {
	opacity: 0.7;
}

.team-card-role {
	font-size: 12px;
	font-weight: 500;
	color: var(--blob-color, #1a7fd0);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.team-card-desc {
	font-size: 12.5px;
	line-height: 1.45;
	color: #5a6472;
	margin: 4px 0 0;
}