/* Modern Features Section - Professional Styling */

.features-excellence-section {
	padding: 100px 0;
	background: linear-gradient(180deg, #0a0a15 0%, #0f0f1e 50%, #0a0a15 100%);
	position: relative;
	overflow: hidden;
}

/* Animated Background */
.features-excellence-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: 
		radial-gradient(circle at 30% 50%, rgba(184, 134, 11, 0.06) 0%, transparent 50%),
		radial-gradient(circle at 70% 80%, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
	pointer-events: none;
}

.features-excellence-section::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: 
		linear-gradient(rgba(184, 134, 11, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(184, 134, 11, 0.05) 1px, transparent 1px);
	background-size: 50px 50px;
	animation: gridMove 40s linear infinite;
	opacity: 0.4;
	pointer-events: none;
}

@keyframes gridMove {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(50px, 50px);
	}
}
.features-excellence-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		radial-gradient(circle at 20% 30%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
	animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.6;
	}
}

/* Animated Particles */
.features-particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: rgba(255, 215, 0, 0.4);
	border-radius: 50%;
	animation: particleFloat 20s linear infinite;
}

.features-particle:nth-child(1) {
	top: 20%;
	left: 10%;
	animation-delay: 0s;
	animation-duration: 15s;
}

.features-particle:nth-child(2) {
	top: 60%;
	left: 30%;
	animation-delay: 3s;
	animation-duration: 18s;
}

.features-particle:nth-child(3) {
	top: 40%;
	right: 20%;
	animation-delay: 6s;
	animation-duration: 22s;
}

.features-particle:nth-child(4) {
	top: 80%;
	right: 40%;
	animation-delay: 9s;
	animation-duration: 20s;
}

@keyframes particleFloat {
	0% {
		transform: translateY(0) translateX(0);
		opacity: 0;
	}
	10% {
		opacity: 0.6;
	}
	90% {
		opacity: 0.6;
	}
	100% {
		transform: translateY(-100vh) translateX(50px);
		opacity: 0;
	}
}

.features-container {
	position: relative;
	z-index: 2;
}

.features-header {
	text-align: center;
	margin-bottom: 70px;
}

.features-badge {
	display: inline-block;
	padding: 8px 24px;
	background: rgba(184, 134, 11, 0.2);
	border: 2px solid rgba(184, 134, 11, 0.4);
	border-radius: 30px;
	color: #FFD700;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.features-title {
	font-size: 48px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 15px;
	line-height: 1.2;
}

.features-subtitle {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.8);
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.7;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.feature-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 45px 35px;
	text-align: center;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(184, 134, 11, 0.1), transparent);
	transition: left 0.6s ease;
}

.feature-card:hover::before {
	left: 100%;
}

.feature-card:hover {
	transform: translateY(-15px);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(184, 134, 11, 0.5);
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
	width: 100px;
	height: 100px;
	margin: 0 auto 30px;
	background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-shadow: 0 15px 40px rgba(184, 134, 11, 0.4);
	transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
	transform: scale(1.15) rotate(10deg);
	box-shadow: 0 20px 50px rgba(184, 134, 11, 0.6);
}

.feature-icon-wrapper::after {
	content: '';
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 2px solid rgba(184, 134, 11, 0.3);
	animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.2);
		opacity: 0.5;
	}
}

.feature-icon-wrapper i {
	font-size: 48px;
	color: #fff;
	z-index: 2;
}

.feature-title {
	font-size: 26px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 15px;
	transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
	color: #FFD700;
}

.feature-description {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.7;
	margin: 0;
}

/* Decorative Lines */
.feature-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #B8860B 0%, #FFD700 100%);
	transition: width 0.5s ease;
}

.feature-card:hover::after {
	width: 80%;
}

/* Responsive Design */
@media (max-width: 992px) {
	.features-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.features-title {
		font-size: 38px;
	}
	.feature-icon-wrapper {
		width: 90px;
		height: 90px;
	}
	.feature-icon-wrapper i {
		font-size: 42px;
	}
}

@media (max-width: 768px) {
	.features-excellence-section {
		padding: 80px 0;
	}
	.features-header {
		margin-bottom: 50px;
	}
	.features-title {
		font-size: 32px;
	}
	.feature-card {
		padding: 35px 25px;
	}
	.feature-title {
		font-size: 22px;
	}
	.features-particle {
		display: none;
	}
}
