:root {
	--white: #FFFFFF;
	--light-gray: #F8F8F8;
	--gold: #C79B3B;
	--gold-dark: #A67D2E;
	--heading: #111111;
	--text: #666666;
	--radius: 20px;
	--shadow-soft: 0 12px 30px rgba(17, 17, 17, 0.08);
	--shadow-hover: 0 18px 38px rgba(17, 17, 17, 0.14);
}

body {
	font-family: 'Poppins', sans-serif;
	color: var(--text);
	background: var(--white);
}

.services-page {
	overflow: hidden;
}

.section-space {
	padding: 50px 0;
}

.section-muted {
	background: var(--light-gray);
}

.section-kicker {
	display: inline-block;
	font-size: 16px;
	letter-spacing: 2.3;
	font-weight: 700;
	color: #C8A24A;
	margin-bottom: 12px;
}


.section-head .card-line {
	width: 60px;
	height: 3px;
	background: #C8A24A;
	margin: 3px auto 18px;
}

.section-title {
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--heading);
	margin-bottom: 14px;
}

.section-text {
	margin-bottom: 0;
	line-height: 1.8;
	color: var(--text);
}

.section-head {
	max-width: 760px;
	margin: 0 auto 38px;
}

.text-gold {
	color: #C8A24A;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.btn-gold {
	background: #C8A24A;
	color: #fff;
	border: 1px solid #C8A24A;
	border-radius: 999px;
	padding: 12px 24px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-gold:hover {
	background: #C8A24A;
	border-color: #C8A24A;
	color: #fff;
	transform: translateY(-2px);
}

.btn-outline-premium {
	border: 1px solid #fff;
	color: #fff;
	border-radius: 999px;
	padding: 12px 24px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-outline-premium:hover {
	background: #fff;
	color: #111111;
	transform: translateY(-2px);
}

.services-hero {
	position: relative;
	min-height: 82vh;
	display: flex;
	align-items: center;
	background-image: url('https://images.pexels.com/photos/2219024/pexels-photo-2219024.jpeg');
	background-position: center;
	background-size: cover;
	margin-top: 0;
}

.services-hero .container {
	position: relative;
	z-index: 2;
	padding-top: 120px;
	padding-bottom: 70px;
}

.services-hero .hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.56);
	z-index: 1;
}

.services-hero h1 {
	color: #fff;
	font-size: clamp(2.1rem, 5vw, 3.6rem);
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 16px;
}

.services-hero p {
	max-width: 690px;
	color: #ececec;
	line-height: 1.8;
	margin-bottom: 0;
}

.image-card {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	background: #fff;
}

.image-card img,
.featured-image,
.service-image-wrap img,
.mineral-card img {
	width: 100%;
	display: block;
	object-fit: cover;
}

.service-card {
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	height: 100%;
	box-shadow: var(--shadow-soft);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-image-wrap {
	overflow: hidden;
	height: 210px;
}

.service-image-wrap img {
	height: 100%;
	transition: transform 0.45s ease;
}

.service-body {
	padding: 26px 24px 24px;
}

.service-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	margin-bottom: 16px;
}

.service-body h3 {
	color: var(--heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 12px;
}

.service-body p {
	margin-bottom: 18px;
	line-height: 1.7;
}

.service-link {
	text-decoration: none;
	color: #1f1f1f;
	font-weight: 600;
	transition: color 0.2s ease;
}

.service-link i {
	margin-left: 5px;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-hover);
}

.service-card:hover .service-image-wrap img {
	transform: scale(1.08);
}

.service-card:hover .service-link {
	color: var(--gold-dark);
}

.featured-service {
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.featured-image {
	height: 100%;
	min-height: 380px;
}

.featured-content {
	height: 100%;
	padding: 36px 34px;
}

.feature-grid {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.feature-item {
	background: var(--light-gray);
	border: 1px solid #ececec;
	border-radius: 14px;
	padding: 12px 14px;
	font-weight: 500;
	color: #252525;
}

.feature-item i {
	color: var(--gold);
	margin-right: 7px;
}

.process-track {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin-top: 10px;
}

.process-track::before {
	content: '';
	position: absolute;
	left: 10%;
	right: 10%;
	top: 34px;
	height: 2px;
	background: var(--gold);
	z-index: 0;
}

.process-step {
	position: relative;
	text-align: center;
	z-index: 1;
}

.process-icon {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	border: 2px solid var(--gold);
	background: #fff;
	color: var(--gold-dark);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	margin-bottom: 14px;
}

.process-icon:hover {
	color: #C79B3B;
	transform: translateY(-6px);
}

.process-step h3 {
	color: var(--heading);
	font-size: 1rem;
	margin-bottom: 0;
}

.mineral-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	height: 100%;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mineral-card img {
	height: 160px;
}

.mineral-card h3 {
	color: var(--heading);
	font-size: 1.1rem;
	margin: 16px 16px 8px;
}

.mineral-card p {
	margin: 0 16px 16px;
	line-height: 1.6;
}

.mineral-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-hover);
}

.choose-services {
	background: #161616;
}

.choose-card {
	background: #212121;
	border: 1px solid #2c2c2c;
	border-radius: 16px;
	padding: 24px;
	text-align: center;
	height: 100%;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.choose-card i {
	color: var(--gold);
	font-size: 2rem;
	margin-bottom: 14px;
	display: inline-block;
}

.choose-card h3 {
	color: #fff;
	font-size: 1.05rem;
	margin-bottom: 0;
}

.choose-card:hover {
	transform: translateY(-6px);
	border-color: var(--gold);
}

.cta-wrap {
	background: #fff;
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-soft);
}

.cta-wrap .btn-outline-premium {
	border-color: #1f1f1f;
	color: #1f1f1f;
}

.cta-wrap .btn-outline-premium:hover {
	background: #1f1f1f;
	color: #fff;
}

.animate-section {
	/* Keep the services content visible even when reveal scripts are unavailable. */
	opacity: 1;
	transform: none;
}

.animate-section.visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 991.98px) {
	.section-space {
		padding: 72px 0;
	}

	.services-hero {
		min-height: auto;
	}

	.services-hero .container {
		padding-top: 110px;
	}

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

	.process-track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 24px;
	}

	.process-track::before {
		display: none;
	}

	.featured-image {
		min-height: 280px;
	}
}

@media (max-width: 575.98px) {
	.section-space {
		padding: 58px 0;
	}

	.services-hero .container {
		padding-top: 96px;
		padding-bottom: 56px;
	}

	.service-image-wrap {
		height: 190px;
	}

	.featured-content {
		padding: 28px 20px;
	}

	.cta-wrap {
		padding: 20px;
	}

	.process-track {
		grid-template-columns: 1fr;
	}
}

/* Mining solutions: black typography and gold accents, scoped to Services. */
#core-services { --gold: #C9A243; --gold-dark: #C9A243; background: #fff; color: #111111; }
#core-services .section-head { max-width: 1100px; }
#core-services .section-kicker { color: var(--gold); letter-spacing: normal; font-size: 1.65rem; }
#core-services .section-title,
#core-services .section-text,
#core-services .service-body h3,
#core-services .service-body p,
#core-services .service-link { color: #111111; }
#core-services .title-accent { color: var(--gold-dark); }
#core-services .section-text { line-height: 1.6; }
#core-services .service-card { display: flex; flex-direction: column; cursor: auto; height: 100%; transition: transform 0.35s ease, box-shadow 0.35s ease; }
#core-services .service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
#core-services .service-card:hover .service-image-wrap img { transform: scale(1.08); }
#core-services .section-head .card-line { background: var(--gold); }
#core-services .service-image-wrap { position: relative; flex-shrink: 0; }
#core-services .service-image-wrap::after {
 content: ''; position: absolute; bottom: 0; right: 0; width: 32%; height: 30px;
 background: var(--gold); clip-path: polygon(100% 0, 100% 100%, 0 100%);
 border-bottom: 2px solid #fff;
}
#core-services .service-icon {
 top: 12px; left: 20px; width: 64px; height: 64px; font-size: 1.8rem;
 border: 2px solid #fff; margin: 0; background: var(--gold); color: #fff;
}
#core-services .service-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px; }
#core-services .service-body h3 { font-weight: 700; margin-bottom: 12px; }
#core-services .service-body h3::after {
 content: ''; display: block; width: 60px; height: 4px;
 border-radius: 999px; margin-top: 9px; background: var(--gold);
}
#core-services .service-body p { text-align: justify; hyphens: none; word-spacing: normal; line-height: 1.65; margin-bottom: 18px; }
#core-services .service-link { margin-top: auto; }
#core-services .service-link i { color: var(--gold-dark); margin-left: 12px; }
#core-services .service-link:hover { color: #111111; text-decoration: underline; }
#core-services .service-card:hover .service-icon { background: var(--gold); color: #fff; }
