:root {
	--gold: #D4AF37;
	--gold-hover: #C79A20;
	--charcoal: #111111;
	--white: #FFFFFF;
	--light-gray: #F8F8F8;
	--text-gray: #555555;
	--radius: 16px;
	--shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.12);
}

html {
	scroll-behavior: smooth;
}

body.mineral-page {
	font-family: 'Open Sans', sans-serif;
	background: var(--white);
	color: var(--text-gray);
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.nav-link,
.quote-btn,
.btn {
	font-family: 'Poppins', sans-serif;
}

.mineral-navbar {
	top: 18px;
}

.quote-btn {
	background: var(--gold);
	color: #fff;
	border-radius: 10px;
	padding: 12px 24px;
	font-size: 13px;
	font-weight: 600;
	border: 1px solid var(--gold);
}

.quote-btn:hover {
	background: var(--gold-hover);
	border-color: var(--gold-hover);
	color: #fff;
}

.section-fade {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-fade.visible,
.timeline-step.visible {
	opacity: 1;
	transform: translateY(0);
}

.mineral-hero {
	position: relative;
	min-height: 760px;
	background: url('https://images.pexels.com/photos/2219024/pexels-photo-2219024.jpeg') center/cover no-repeat;
	display: flex;
	align-items: center;
}

.mineral-hero .hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 17, 17, 0.88) 20%, rgba(17, 17, 17, 0.20) 75%);
}

.mineral-hero .container {
	position: relative;
	z-index: 2;
}

.hero-kicker,
.section-kicker {
	display: inline-block;
	color: var(--gold);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.section-head .trading-line {
	width: 60px;
	height: 3px;
	background: #C8A24A;
	margin: 3px auto 18px;
}
.mineral-hero h1 {
	color: #fff;
	font-size: clamp(2.8rem, 5vw, 4.7rem);
	line-height: 0.95;
	font-weight: 800;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.mineral-hero h1 span {
	color: var(--gold);
}

.mineral-hero h2 {
	color: #fff;
	font-size: clamp(1.1rem, 1.8vw, 1.8rem);
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 14px;
}

.mineral-hero p {
	color: rgba(255, 255, 255, 0.88);
	max-width: 620px;
	font-size: 17px;
	line-height: 1.8;
	margin-bottom: 28px;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.glass-wrap {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 12px;
	backdrop-filter: blur(8px);
	width: fit-content;
}

.btn-gold,
.btn-outline-gold {
	border-radius: 8px;
	padding: 11px 22px;
	font-weight: 600;
	font-size: 14px;
}

.btn-gold {
	background: var(--gold);
	color: #fff;
	border: 1px solid var(--gold);
}

.btn-gold:hover {
	background: var(--gold-hover);
	border-color: var(--gold-hover);
	color: #fff;
}

.btn-outline-gold {
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
	background: transparent;
}

.btn-outline-gold:hover {
	border-color: var(--gold);
	background: var(--gold);
	color: #fff;
}

.about-service {
	padding: 100px 0 60px;
	background: #fff;
}
.about-service .trading-line{
	width: 90px;
	height: 3px;
	background: #C8A24A;
	margin: 1px 10px 20px ;
}
.about-image-wrap {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	height: 500px;
}

.about-image-wrap img {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	display: block;
}

.back-up-button {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	background: #C8A24A;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.back-up-button:hover {
	background: #B88F37;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
	transform: translateY(-2px);
}

.back-up-button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.back-up-button span:first-child {
	font-size: 24px;
	line-height: 1;
}

@media (max-width: 575.98px) {
	.back-up-button {
		top: 12px;
		left: 12px;
		gap: 8px;
		padding: 9px 15px;
		font-size: 14px;
	}

	.back-up-button span:first-child {
		font-size: 21px;
	}
}

.about-service h2 {
	color: var(--charcoal);
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 16px;
}

.about-service p {
	font-size: 16px;
	line-height: 1.9;
	margin-bottom: 24px;
	text-align: justify;
}

.icon-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.icon-card {
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	padding: 18px 16px;
	background: #fff;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.icon-card i {
	color: var(--gold);
	font-size: 24px;
	margin-bottom: 10px;
	display: inline-block;
}

.icon-card h3 {
	color: var(--charcoal);
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 8px;
}

.icon-card p {
	margin-bottom: 0;
	font-size: 13px;
	line-height: 1.7;
}

.icon-card:hover {
	border-color: rgba(212, 175, 55, 0.5);
	transform: translateY(-5px);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.minerals-trade {
	padding: 9px 0;
	
}

.minerals-trade .section-kicker,
.minerals-trade .section-heading h2 {
	color: #C8A24A;
	font-size:18px;
	font-weight: 700;
}

.section-heading .card-line {
	width: 62px;
	height: 3px;
	background: var(--gold);
	margin: 0 auto 16px;
	border-radius: 999px;
}
.luxury-category-title {
	color: #c89b3c;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	margin: 4px 4px 18px;
	text-align: center;
}


.minerals-trade .section-heading {
	margin-bottom: 34px;
}

.mineral-card {
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow-soft);
	transition: transform 0.35s ease;
}

.mineral-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mineral-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.88));
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.mineral-overlay h3 {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 8px;
}

.mineral-overlay p {
	color: #ddd;
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 14px;
}

.mineral-overlay a {
	color: var(--gold);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}

.mineral-overlay a i {
	margin-left: 6px;
}

.mineral-card:hover {
	transform: translateY(-8px);
}

.trading-process {
	padding: 90px 0;
	background: #fff;
}

.trading-process .section-heading h2 {
	color: var(--charcoal);
	font-size: clamp(1.9rem, 3vw, 2.8rem);
	font-weight: 800;
	margin-bottom: 32px;
}

.timeline-track {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.timeline-progress {
	position: absolute;
	left: 8%;
	right: 8%;
	top: 24px;
	height: 2px;
	background: rgba(212, 175, 55, 0.35);
}

.timeline-step {
	text-align: center;
	position: relative;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.timeline-step:nth-child(2) { transition-delay: 0.05s; }
.timeline-step:nth-child(3) { transition-delay: 0.12s; }
.timeline-step:nth-child(4) { transition-delay: 0.19s; }
.timeline-step:nth-child(5) { transition-delay: 0.26s; }
.timeline-step:nth-child(6) { transition-delay: 0.33s; }

.step-dot {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 14px;
	position: relative;
	z-index: 2;
}

.timeline-step i {
	display: block;
	color: var(--charcoal);
	font-size: 26px;
	margin-bottom: 8px;
}

.timeline-step h3 {
	color: var(--charcoal);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 7px;
}

.timeline-step p {
	font-size: 13px;
	line-height: 1.7;
}

.why-grittech {
	padding: 9px 0;
	background:#fff;
}

.why-grittech .section-heading h2 {
	color:  #0f0f0f;
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 800;
	margin-bottom: 30px;
}

.feature-card {
	background:#fff;
	border: 2px solid rgba(207, 167, 37, 0.18);
	border-radius: var(--radius);
	padding: 24px;
	height: 100%;
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card h3 {
	color: #0f0f0f;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
}

.feature-card p {
	color: #0f0f0f;
	font-size: 14px;
	line-height: 1.75;
	margin-bottom: 0;
}

.feature-card:hover {
	border-color: var(--gold);
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.stats-section {
	position: relative;
	padding: 75px 0;
}

.stats-overlay {
	position: absolute;
	inset: 0;
	
	
}

.stat-card {
	background: rgba(255, 255, 255, 0.06);
	border: 2px solid rgba(207, 167, 37, 0.18);
	border-radius: 14px;
	text-align: center;
	padding: 24px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-main {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.stat-icon {
	font-size: 2.1rem;
	line-height: 1;
	color: var(--gold);
	transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.stat-card h3 {
	color: black;
	font-size: clamp(2rem, 3vw, 2.7rem);
	font-weight: 800;
	margin: 0;
}

.stat-card p {
	color: var(--gold);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
	margin: 0;
}

.stat-card:hover {
	transform: translateY(-5px);
	border-color: rgba(212, 175, 55, 0.45);
	box-shadow: 0 14px 28px rgba(17, 17, 17, 0.12);
}

.stat-card:hover .stat-icon {
	transform: scale(1.08);
	color: #E4C25A;
	text-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}


@media (max-width: 1199.98px) {
	.mineral-hero {
		min-height: 690px;
	}

	.timeline-track {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.timeline-progress {
		display: none;
	}
}

@media (max-width: 991.98px) {
	.icon-grid {
		grid-template-columns: 1fr;
	}

	.mineral-navbar {
		top: 10px;
		left: 12px;
		right: 12px;
	}

	.mineral-navbar .navbar-collapse {
		background: #fff;
		margin-top: 12px;
		border-radius: 12px;
		padding: 16px;
	}

	.mineral-navbar .nav-link {
		color: #222;
	}

	.quote-btn {
		width: 100%;
	}

	.timeline-track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.stat-main {
		gap: 10px;
	}

	.about-image-wrap {
		height: 320px;
	}

	.stat-card {
		padding: 22px 14px;
	}

	.mineral-hero {
		min-height: 620px;
	}

	.hero-actions {
		flex-direction: column;
		width: 100%;
	}

	.glass-wrap {
		width: 100%;
	}

	.btn-gold,
	.btn-outline-gold {
		width: 100%;
		text-align: center;
	}

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

	.about-service,
	.minerals-trade,
	.trading-process,
	.why-grittech,
	.stats-section,
	.service-cta {
		padding-top: 68px;
		padding-bottom: 68px;
	}
}
