/* ═══════════════════════════════════════════════════════════════════════
   FCW — Industries Grid (fcw-ig)
   Prefix: fcw-ig__*
   Tailored to premium card layouts, dynamic footers, and hover details.
 ════════════════════════════════════════════════════════════════════════ */

.fcw-ig {
	--fcw-ig-bg: #ffffff;
	--fcw-ig-primary: #862780;
	--fcw-ig-secondary: #93C241;
	--fcw-ig-dark: #111827;
	--fcw-ig-mid: #4b5563;
	--fcw-ig-light: #6b7280;
	--fcw-ig-font: 'Inter', sans-serif;

	background-color: var(--fcw-ig-bg);
	font-family: var(--fcw-ig-font);
}

.fcw-ig__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 24px;
}

/* ── Header Styling ─────────────────────── */
.fcw-ig__header {
	text-align: center;
	margin-bottom: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fcw-ig__tagline-box {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background-color: rgba(147, 194, 65, 0.1);
	border: 1px solid rgba(147, 194, 65, 0.3);
	border-radius: 9999px;
	margin-bottom: 24px;
}

.fcw-ig__tagline-icon {
	color: var(--fcw-ig-secondary);
	font-size: 1rem;
}

.fcw-ig__tagline-text {
	color: var(--fcw-ig-secondary);
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.fcw-ig__heading {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	font-weight: 800;
	color: var(--fcw-ig-dark);
	line-height: 1.2;
	margin: 0 0 16px 0;
	letter-spacing: -0.02em;
}

.fcw-ig__subheading {
	font-size: 1.125rem;
	color: var(--fcw-ig-light);
	max-width: 640px;
	margin: 0 auto;
}

/* ── Industries Grid ────────────────────── */
.fcw-ig__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	width: 100%;
}

@media (max-width: 1024px) {
	.fcw-ig__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.fcw-ig__grid {
		grid-template-columns: 1fr;
	}
	.fcw-ig__inner {
		padding: 72px 16px;
	}
}

.fcw-ig__card {
	background-color: #f9fafb;
	border-radius: 20px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	border: 1px solid transparent;
	transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fcw-ig__card:hover {
	background-color: #ffffff;
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
	border-color: rgba(134, 39, 128, 0.1);
}

.fcw-ig__icon-box {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	flex-shrink: 0;
	transition: transform 0.3s ease;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.fcw-ig__card:hover .fcw-ig__icon-box {
	transform: scale(1.08);
}

.fcw-ig__icon-box i {
	font-size: 24px;
	color: #ffffff;
	line-height: 1;
}

.fcw-ig__card-title {
	font-size: 1.25rem;
	font-weight: 750;
	color: var(--fcw-ig-dark);
	margin: 0 0 10px 0;
	line-height: 1.3;
	transition: color 0.3s ease;
}

.fcw-ig__card:hover .fcw-ig__card-title {
	color: var(--fcw-ig-primary);
}

.fcw-ig__card-desc {
	font-size: 0.875rem;
	color: var(--fcw-ig-mid);
	line-height: 1.6;
	margin: 0 0 24px 0;
	flex: 1;
}

.fcw-ig__card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	border-top: 1px solid #f3f4f6;
	padding-top: 16px;
}

.fcw-ig__card:hover .fcw-ig__card-footer {
	border-color: #f3f4f6;
}

.fcw-ig__card-count {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--fcw-ig-primary);
	background-color: rgba(134, 39, 128, 0.06);
	padding: 4px 10px;
	border-radius: 9999px;
}

.fcw-ig__card-cta {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--fcw-ig-primary);
	transition: gap 0.2s ease;
}

.fcw-ig__card-cta i {
	font-size: 1rem;
	transition: transform 0.2s ease;
}

.fcw-ig__card:hover .fcw-ig__card-cta {
	gap: 8px;
}

.fcw-ig__card:hover .fcw-ig__card-cta i {
	transform: translateX(4px);
}

/* ── Bottom CTA Button ──────────────────── */
.fcw-ig__cta {
	text-align: center;
	margin-top: 48px;
}

.fcw-ig__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 36px;
	border: 2px solid #e5e7eb;
	color: var(--fcw-ig-mid);
	border-radius: 9999px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.3s ease;
}

.fcw-ig__btn:hover {
	border-color: var(--fcw-ig-primary);
	color: var(--fcw-ig-primary);
	transform: translateY(-2px);
}

.fcw-ig__btn i {
	font-size: 1.125rem;
	transition: transform 0.2s ease;
}

.fcw-ig__btn:hover i {
	transform: translateX(4px);
}
