.team-carousel-wrapper {
	position: relative;
	width: 100%;
	padding: 2rem 0; /* Reduced vertical padding */
	background-color: #f8f9fa; /* A light background for separation */
	overflow: hidden;
	text-align: center;
}

.team-carousel-wrapper .carousel-container {
	width: 100%;
	max-width: 1200px;
	height: 450px;
	position: relative;
	perspective: 1000px;
	margin-top: 80px;
}

.team-carousel-wrapper .carousel-track {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-carousel-wrapper .team-card {
	position: absolute;
	width: 280px;
	height: 380px;
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.team-carousel-wrapper .team-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-carousel-wrapper .team-card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.team-carousel-wrapper .team-card.center img {
	filter: none;
}

.team-carousel-wrapper .team-card.left-2 {
	z-index: 1;
	transform: translateX(-400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.team-carousel-wrapper .team-card.left-2 img {
	filter: grayscale(100%);
}

.team-carousel-wrapper .team-card.left-1 {
	z-index: 5;
	transform: translateX(-200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.team-carousel-wrapper .team-card.left-1 img {
	filter: grayscale(100%);
}

.team-carousel-wrapper .team-card.right-1 {
	z-index: 5;
	transform: translateX(200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.team-carousel-wrapper .team-card.right-1 img {
	filter: grayscale(100%);
}

.team-carousel-wrapper .team-card.right-2 {
	z-index: 1;
	transform: translateX(400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.team-carousel-wrapper .team-card.right-2 img {
	filter: grayscale(100%);
}

.team-carousel-wrapper .team-card.hidden {
	opacity: 0;
	pointer-events: none;
}

.team-carousel-wrapper .member-info {
	text-align: center;
	margin-top: 40px;
	transition: all 0.5s ease-out;
}

.team-carousel-wrapper .member-name {
	color: rgb(8, 42, 123);
	font-size: 1.625rem; /* Reduced by 35% */
	font-weight: 700;
	margin-bottom: 10px;
	position: relative;
	display: inline-block;
}

.team-carousel-wrapper .member-name::before,
.team-carousel-wrapper .member-name::after {
	content: "";
	position: absolute;
	top: 100%;
	width: 100px;
	height: 2px;
	background: rgb(8, 42, 123);
}

.team-carousel-wrapper .member-name::before {
	left: -120px;
}

.team-carousel-wrapper .member-name::after {
	right: -120px;
}

.team-carousel-wrapper .member-role {
	color: #848696;
	font-size: 0.975rem; /* Reduced by 35% */
	font-weight: 500;
	opacity: 0.8;
	letter-spacing: 0.1em;
	padding: 10px 0;
	margin-top: -15px;
	position: relative;
}
.team-carousel-wrapper .dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 60px;
}

.team-carousel-wrapper .dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(8, 42, 123, 0.2);
	cursor: pointer;
	transition: all 0.3s ease;
}

.team-carousel-wrapper .dot.active {
	background: rgb(8, 42, 123);
	transform: scale(1.2);
}

.team-carousel-wrapper .nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(8, 42, 123, 0.6);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 20;
	transition: all 0.3s ease;
	font-size: 1.5rem;
	border: none;
	outline: none;
	padding-bottom: 4px;
}

.team-carousel-wrapper .nav-arrow:hover {
	background: rgba(0, 0, 0, 0.8);
	transform: translateY(-50%) scale(1.1);
}

.team-carousel-wrapper .nav-arrow.left {
	left: 20px;
	padding-right: 3px;
}

.team-carousel-wrapper .nav-arrow.right {
	right: 20px;
	padding-left: 3px;
}

@media (max-width: 768px) {
	.team-carousel-wrapper .about-title {
		font-size: 4.5rem;
	}

	.team-carousel-wrapper .team-card {
		width: 200px;
		height: 280px;
	}

	.team-carousel-wrapper .team-card.left-2 {
		transform: translateX(-250px) scale(0.8) translateZ(-300px);
	}

	.team-carousel-wrapper .team-card.left-1 {
		transform: translateX(-120px) scale(0.9) translateZ(-100px);
	}

	.team-carousel-wrapper .team-card.right-1 {
		transform: translateX(120px) scale(0.9) translateZ(-100px);
	}

	.team-carousel-wrapper .team-card.right-2 {
		transform: translateX(250px) scale(0.8) translateZ(-300px);
	}

	.team-carousel-wrapper .member-name {
		font-size: 2rem;
	}

	.team-carousel-wrapper .member-role {
		font-size: 1.2rem;
	}

	.team-carousel-wrapper .member-name::before,
	.team-carousel-wrapper .member-name::after {
		width: 50px;
	}

	.team-carousel-wrapper .member-name::before {
		left: -70px;
	}

	.team-carousel-wrapper .member-name::after {
		right: -70px;
	}
} 