/* Team Section Styles - Clean White Theme with Consistent Colors */
.team-section {
	background: #ffffff;
	position: relative;
	overflow: hidden;
	padding-top: 60px;
}

.team-pagination {
	position: relative;
	padding: 50px 0px;
	width: 200px;
	display: flex;
	justify-content: space-between;
	margin: auto;
}

.team-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(
			circle at 30% 20%,
			rgba(59, 130, 246, 0.04) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 70% 80%,
			rgba(59, 130, 246, 0.03) 0%,
			transparent 50%
		);
	pointer-events: none;
}

.team-section .container {
	position: relative;
	z-index: 1;
}

/* Section Title - Consistent Blue Theme */

/* swiper pagination  */

/* Swiper Container */
.team-swiper-container {
	position: relative;

	overflow: hidden;
}

.teamSwiper {
	overflow: visible;
	padding: 20px 10px 10px;
}

/* Team Card - Clean Design */
.team-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow:
		0 2px 8px rgba(0, 0, 0, 0.06),
		0 1px 2px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
	position: relative;
	height: 100%;
	border: 2px solid #e5e7eb;
}

/* Active slide enhancement */
.swiper-slide-active .team-card {
	transform: translateY(-8px);
	box-shadow:
		0 12px 28px rgba(246, 149, 59, 0.12),
		0 4px 12px rgba(0, 0, 0, 0.08);
	border-color: var(--accent-secondary-color);
}

/* Inactive slides - subtle */

/* Team Image - Consistent Aspect Ratio */
.team-image {
	position: relative;
	width: 100%;
	padding-bottom: 133.33%; /* 3:4 ratio */
	overflow: hidden;
	background: #f1f5f9;
}

.team-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.8s ease;
	filter: brightness(0.9);
}

/* Subtle gradient for text readability */
.team-image::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 40%;
	background: linear-gradient(
		to top,
		rgba(15, 23, 42, 0.5) 0%,
		transparent 100%
	);
	pointer-events: none;
	z-index: 1;
	transition: opacity 0.8s ease;
}

/* Default zoom animation on center slide */
.swiper-slide-center .team-image img {
	transform: scale(1.12);
	filter: brightness(1.1);
}

.swiper-slide-center .team-image::after {
	opacity: 0.3;
}

/* Team Overlay - Hover Only */
.team-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 106, 0, 0.85) 0%,
		rgba(255, 45, 45, 0.85) 35%,
		rgba(10, 42, 102, 0.85) 70%,
		rgba(15, 76, 129, 0.85) 100%
	);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 2;
}

.team-card:hover .team-overlay {
	opacity: 1;
}

/* Social Icons - Clean White on Blue */
.team-social {
	display: flex;
	gap: 12px;
	transform: translateY(20px);
	transition: transform 0.3s ease;
}

.team-card:hover .team-social {
	transform: translateY(0);
}

.team-social a {
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-secondary-color);
	font-size: 16px;
	transition: all 0.2s ease;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-social a:hover {
	background: #ffffff;
	color: var(--accent-secondary-color);
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(246, 149, 59, 0.3);
}

/* Team Content - Consistent Typography */
.team-content {
	padding: 24px 20px 28px;
	text-align: center;
}

/* Name - Consistent Dark Color */
.team-content h4 {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 8px;
	line-height: 1.3;
}

/* Role Badge - Always Blue */
.team-role {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
	padding: 5px 14px;
	background: var(--accent-gradient);
	border-radius: 12px;
	transition: all 0.2s ease;
}

.swiper-slide-active .team-role {
	box-shadow: 0 2px 8px rgba(246, 149, 59, 0.4);
}

/* Description - Consistent Gray */
.team-content p {
	font-size: 14px;
	color: white;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.team-content h4 {
	color: white;
}
.swiper-button-next svg,
.swiper-button-prev svg {
	display: none;
}
/* Navigation Arrows - Modern Blue Style */
.team-swiper-button-next,
.team-swiper-button-prev {
	width: 48px;
	height: 48px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 2px solid #e5e7eb;
}
.team-swiper-container .swiper-slide-prev,
.team-swiper-container .swiper-slide-next {
	opacity: 1;
}
.team-swiper-button-next::after,
.team-swiper-button-prev::after {
	font-size: 18px;
	color: var(--accent-secondary-color);
	font-weight: 900;
}

.team-swiper-button-next:hover,
.team-swiper-button-prev:hover {
	background: var(--accent-gradient);
	border-color: var(--accent-secondary-color);
	box-shadow: 0 4px 16px rgba(246, 149, 59, 0.3);
	transform: scale(1.08);
}

.team-swiper-button-next:hover::after,
.team-swiper-button-prev:hover::after {
	color: #ffffff;
}

/* Premium Pagination - Better Visual */
.team-swiper-pagination {
	bottom: 35px !important;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.team-swiper-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #cbd5e1;
	opacity: 1;
	transition: all 0.3s ease;
	margin: 0 4px !important;
	border-radius: 4px;
}

.team-swiper-pagination .swiper-pagination-bullet-active {
	width: 32px;
	background: var(--accent-gradient);
	box-shadow: 0 2px 8px rgba(246, 149, 59, 0.4);
}

/* Smooth slide transitions */
.swiper-slide {
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.team-swiper-container {
		padding: 0 60px 80px;
	}
}

@media (max-width: 991px) {
	.team-section {
		padding: 70px 0;
	}

	.team-section .section-title h2 {
		font-size: 36px;
	}

	.team-swiper-container {
		padding: 0 50px 70px;
	}
}

@media (max-width: 767px) {
	.team-section {
		padding: 50px 0;
	}

	.team-section .section-title h2 {
		font-size: 28px;
	}

	.team-swiper-container {
		padding: 0 40px 60px;
	}

	.team-swiper-button-next,
	.team-swiper-button-prev {
		width: 40px;
		height: 40px;
	}

	.team-swiper-button-next::after,
	.team-swiper-button-prev::after {
		font-size: 16px;
	}

	.team-content h4 {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.team-swiper-container {
		padding: 0 35px 55px;
	}

	.team-card {
		border-radius: 14px;
	}

	.team-content {
		padding: 20px 16px 24px;
	}
}

/* Focus states for accessibility */
.team-social a:focus,
.team-swiper-button-next:focus,
.team-swiper-button-prev:focus {
	outline: 2px solid var(--accent-secondary-color);
	outline-offset: 2px;
}

/* Loading state */
.teamSwiper:not(.swiper-initialized) {
	opacity: 0.5;
}
