/* Services Styles - Modern Premium Cards & Unified Hero */

#services.page-content {
	background-color: white;
	color: var(--text-dark);
	min-height: 100vh;
}

/* Services Hero (Standardized) */
.services-hero {
	background: linear-gradient(180deg, var(--highlight-color) 0%, var(--primary-color) 100%);
	/* Blue Gradient: #3282b8 -> #1a1a2e */
	padding: 12rem var(--spacing-lg) 6rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	color: white;
	clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
	/* Match About */
	margin-bottom: 2rem;
}

.services-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gold);
}

.services-hero h2 {
	font-size: 3.5rem;
	color: white;
	margin-bottom: 1.5rem;
	letter-spacing: -0.5px;
	text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	animation: fadeInUp 0.8s ease-out;
}

.services-hero .lead-text {
	font-size: 1.35rem;
	max-width: 800px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.8;
	font-weight: 400;
	animation: fadeInUp 1s ease-out;
}

.services-section {
	padding: 2rem var(--spacing-md) 6rem;
	max-width: 1400px;
	margin: 0 auto;
}

/* Grid Layout */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 2rem;
	padding: 0 var(--spacing-sm);
}

/* Card Styling - Modified for White Background */
.service-card-modern {
	background: white;
	/* Keep white, add border */
	border-radius: 16px;
	padding: 2.5rem;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 0, 0, 0.08);
	/* Added Border */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	/* Softer Shadow */
}

/* Hover Effect: Blue Accent on Hover */
.service-card-modern:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(50, 130, 184, 0.15);
	/* Blue glow */
	border-color: var(--highlight-color);
}

/* Icon */
.service-card-modern .card-icon {
	width: 60px;
	height: 60px;
	background: rgba(50, 130, 184, 0.1);
	/* Light Blue bg */
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	color: var(--highlight-color);
	/* Blue Icon */
	transition: all 0.3s ease;
}

.service-card-modern:hover .card-icon {
	background: var(--highlight-color);
	color: white;
}

/* Typography */
.service-card-modern h3 {
	font-size: 1.5rem;
	color: var(--primary-color);
	/* Dark Blue */
	margin-bottom: 1rem;
	font-weight: 700;
}

.service-card-modern p {
	color: var(--text-light);
	/* Grey text */
	margin-bottom: 1.5rem;
	line-height: 1.6;
	flex-grow: 1;
}

/* List */
.service-features {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	padding-top: 1.5rem;
}

.service-features li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
	color: var(--text-dark);
}

.service-features li i {
	width: 16px;
	height: 16px;
	color: var(--gold);
	/* Gold checks */
	stroke-width: 3px;
}

/* Responsive */
@media (max-width: 768px) {
	.services-hero {
		padding: 10rem var(--spacing-md) 4rem;
		clip-path: none;
	}

	.services-hero h2 {
		font-size: 2.5rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.service-card-modern {
		padding: 2rem;
	}

}

/* =========================================
   HOME PAGE - ORIGINAL STYLE RESTORATION
   ========================================= */


.service-highlights {
	padding: var(--spacing-xl) var(--spacing-lg);
	background: white;
	/* Solid background to prevent overlap/transparency issues */
	position: relative;
	z-index: 10;
	/* Ensure it sits on top if there's any negative margin */
}

.service-highlights h2 {
	color: var(--primary-color);
}

.service-highlights p {
	color: var(--text-dark);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--spacing-md);
	max-width: 1400px;
	margin: 0 auto;
}

.service-card {
	background: white;
	padding: 2.5rem;
	border-radius: var(--radius-md);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	/* Lighter shadow */
	transition: all var(--transition-normal);
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
	width: 80px;
	height: 80px;
	background: rgba(50, 130, 184, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: var(--highlight-color);
	transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
	background: var(--highlight-color);
	color: white;
	transform: rotateY(180deg);
}

.service-card h3 {
	margin-bottom: 1rem;
	color: var(--primary-color);
	font-size: 1.5rem;
}

.service-card p {
	color: var(--text-light);
	/* Keep text light/grey */
	margin-bottom: 0;
}