/* Advanced Services Section - Professional Styling */

.advanced-services-section {
	padding: 120px 0;
	background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
	position: relative;
	overflow: hidden;
}

/* Animated Background Elements */
.advanced-services-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	animation: float 20s ease-in-out infinite;
}

.advanced-services-section::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -5%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
	border-radius: 50%;
	animation: float 25s ease-in-out infinite reverse;
}

/* Floating Animation */
@keyframes float {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}
	25% {
		transform: translate(30px, -30px) scale(1.05);
	}
	50% {
		transform: translate(-20px, 20px) scale(0.95);
	}
	75% {
		transform: translate(20px, 30px) scale(1.02);
	}
}

/* Animated Geometric Shapes */
.services-bg-shape {
	position: absolute;
	opacity: 0.03;
	pointer-events: none;
}

.services-bg-shape.shape-1 {
	top: 10%;
	left: 5%;
	width: 150px;
	height: 150px;
	border: 3px solid #B8860B;
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	animation: morph 15s ease-in-out infinite, rotate 30s linear infinite;
}

.services-bg-shape.shape-2 {
	top: 60%;
	right: 8%;
	width: 120px;
	height: 120px;
	border: 3px solid #FFD700;
	border-radius: 50%;
	animation: pulse 10s ease-in-out infinite;
}

.services-bg-shape.shape-3 {
	bottom: 15%;
	left: 15%;
	width: 100px;
	height: 100px;
	border: 3px solid #B8860B;
	transform: rotate(45deg);
	animation: float 20s ease-in-out infinite;
}

@keyframes morph {
	0%, 100% {
		border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	}
	25% {
		border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
	}
	50% {
		border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
	}
	75% {
		border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
	}
}

@keyframes pulse {
	0%, 100% {
		transform: scale(1);
		opacity: 0.03;
	}
	50% {
		transform: scale(1.2);
		opacity: 0.06;
	}
}

/* Animated Grid Pattern */
.services-grid-pattern {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: 
		linear-gradient(rgba(184, 134, 11, 0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(184, 134, 11, 0.02) 1px, transparent 1px);
	background-size: 50px 50px;
	opacity: 0.5;
	animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(50px, 50px);
	}
}

.services-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 80px;
	position: relative;
	z-index: 2;
}

.services-badge {
	display: inline-block;
	padding: 8px 24px;
	background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
	border: 2px solid rgba(184, 134, 11, 0.3);
	border-radius: 30px;
	color: #B8860B;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	margin-bottom: 25px;
	text-transform: uppercase;
	position: relative;
	overflow: hidden;
}

.services-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	animation: shine 3s infinite;
}

@keyframes shine {
	0% {
		left: -100%;
	}
	50%, 100% {
		left: 100%;
	}
}

.services-main-title {
	font-size: 52px;
	font-weight: 800;
	color: #1a1a2e;
	margin-bottom: 20px;
	line-height: 1.2;
	position: relative;
}

.services-main-title::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #B8860B 0%, #FFD700 100%);
	border-radius: 2px;
}

.services-subtitle {
	font-size: 19px;
	color: #666;
	line-height: 1.8;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	position: relative;
	z-index: 2;
}

.service-mega-card {
	background: #fff;
	border-radius: 24px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	border: 2px solid transparent;
}

.service-mega-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #B8860B 0%, #FFD700 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s ease;
}

.service-mega-card:hover::before {
	transform: scaleX(1);
}

.service-mega-card:hover {
	transform: translateY(-12px);
	box-shadow: 0 30px 80px rgba(184, 134, 11, 0.2);
	border-color: rgba(184, 134, 11, 0.2);
}

.service-card-header {
	padding: 50px 40px 30px;
	text-align: center;
	background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
	position: relative;
	overflow: hidden;
}

.service-card-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(184, 134, 11, 0.03) 0%, transparent 70%);
	animation: rotate 30s linear infinite;
}

.service-icon-wrapper {
	width: 120px;
	height: 120px;
	margin: 0 auto 30px;
	background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	box-shadow: 0 15px 40px rgba(184, 134, 11, 0.3);
	transition: all 0.4s ease;
	z-index: 2;
}

.service-mega-card:hover .service-icon-wrapper {
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 20px 50px rgba(184, 134, 11, 0.4);
}

.service-icon-wrapper::after {
	content: '';
	position: absolute;
	inset: -10px;
	border-radius: 35px;
	border: 2px dashed rgba(184, 134, 11, 0.3);
	animation: rotate 20s linear infinite;
}

@keyframes rotate {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

.service-icon-wrapper i {
	font-size: 56px;
	color: #fff;
	z-index: 2;
	animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

.service-card-title {
	font-size: 36px;
	font-weight: 800;
	color: #1a1a2e;
	margin-bottom: 15px;
	transition: color 0.3s ease;
	position: relative;
	z-index: 2;
}

.service-mega-card:hover .service-card-title {
	color: #B8860B;
}

.service-card-description {
	font-size: 17px;
	color: #666;
	line-height: 1.7;
	margin-bottom: 0;
	position: relative;
	z-index: 2;
}

.service-card-body {
	padding: 40px;
	position: relative;
}

.service-card-body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 0;
	background: linear-gradient(180deg, #B8860B 0%, #FFD700 100%);
	transition: height 0.5s ease;
}

.service-mega-card:hover .service-card-body::before {
	height: 100%;
}

.service-features-list {
	list-style: none;
	padding: 0;
	margin: 0 0 35px 0;
}

.service-features-list li {
	padding: 16px 0;
	color: #555;
	font-size: 16px;
	font-weight: 500;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	align-items: center;
	transition: all 0.3s ease;
	opacity: 0;
	transform: translateX(-20px);
	animation: slideIn 0.5s ease forwards;
}

.service-features-list li:nth-child(1) { animation-delay: 0.1s; }
.service-features-list li:nth-child(2) { animation-delay: 0.2s; }
.service-features-list li:nth-child(3) { animation-delay: 0.3s; }
.service-features-list li:nth-child(4) { animation-delay: 0.4s; }
.service-features-list li:nth-child(5) { animation-delay: 0.5s; }
.service-features-list li:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideIn {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.service-features-list li:last-child {
	border-bottom: none;
}

.service-features-list li:hover {
	padding-left: 10px;
	color: #B8860B;
}

.service-features-list li i {
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	font-size: 14px;
	color: #fff;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.service-features-list li:hover i {
	transform: scale(1.2) rotate(360deg);
}

.service-card-footer {
	padding: 0 40px 40px;
}

.service-cta-button {
	display: block;
	width: 100%;
	padding: 18px 30px;
	background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
	color: #fff;
	text-decoration: none;
	border-radius: 12px;
	font-weight: 700;
	font-size: 17px;
	text-align: center;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(184, 134, 11, 0.3);
}

.service-cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.service-cta-button:hover::before {
	left: 100%;
}

.service-cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(184, 134, 11, 0.4);
	color: #fff;
}

.service-cta-button i {
	margin-left: 10px;
	transition: transform 0.3s ease;
}

.service-cta-button:hover i {
	transform: translateX(5px);
}

.service-stats {
	display: flex;
	justify-content: space-around;
	padding: 25px 40px;
	background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
	border-top: 1px solid #e8e8e8;
	position: relative;
}

.service-stats::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #B8860B 0%, #FFD700 100%);
	transition: width 0.8s ease;
}

.service-mega-card:hover .service-stats::before {
	width: 100%;
}

.stat-item {
	text-align: center;
	position: relative;
}

.stat-item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 40px;
	background: linear-gradient(180deg, transparent 0%, #ddd 50%, transparent 100%);
}

.stat-number {
	font-size: 32px;
	font-weight: 800;
	background: linear-gradient(135deg, #B8860B 0%, #FFD700 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: block;
	line-height: 1;
	margin-bottom: 8px;
	animation: statPulse 2s ease-in-out infinite;
}

@keyframes statPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.stat-label {
	font-size: 13px;
	color: #666;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 992px) {
	.services-grid { 
		grid-template-columns: 1fr; 
		gap: 30px; 
	}
	.services-main-title { 
		font-size: 38px; 
	}
	.service-card-title { 
		font-size: 28px; 
	}
	.service-icon-wrapper {
		width: 100px;
		height: 100px;
	}
	.service-icon-wrapper i {
		font-size: 48px;
	}
}

@media (max-width: 768px) {
	.advanced-services-section {
		padding: 80px 0;
	}
	.services-header {
		margin-bottom: 50px;
	}
	.services-main-title {
		font-size: 32px;
	}
	.service-card-header {
		padding: 40px 30px 25px;
	}
	.service-card-body {
		padding: 30px;
	}
	.service-card-footer {
		padding: 0 30px 30px;
	}
	.service-stats {
		padding: 20px 30px;
	}
	.stat-number {
		font-size: 28px;
	}
	.services-bg-shape {
		display: none;
	}
}
