/**
 * Stylesheet: CG Vision & Mission Widget
 * Elegant dark cards grid, circular icon soft-badges, glowing bottom ribbons, and slide-in hover transitions.
 */

.cg-vm-wrapper {
	position: relative;
	background-color: #060d19;
	overflow: hidden;
	width: 100%;
	font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	padding: 95px 0;
	box-sizing: border-box;
}

.cg-vm-wrapper * {
	box-sizing: border-box;
}

.cg-vm-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

/* ==========================================
 * 1. SECTION HEADER BLOCK
 * ========================================== */

.cg-vm-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 65px auto;
}

.cg-vm-tagline {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #6DC05A;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 16px;
}

.cg-vm-heading {
	font-size: 38px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.2;
	margin: 0 0 20px 0;
	letter-spacing: -0.5px;
}

.cg-vm-desc {
	font-size: 16px;
	line-height: 1.6;
	color: #94a3b8;
	margin: 0;
}

/* ==========================================
 * 2. 3-COLUMN CARDS GRID
 * ========================================== */

.cg-vm-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	width: 100%;
}

.cg-vm-card {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	background-color: #0b1626;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 16px;
	padding: 35px 25px;
	text-decoration: none;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	height: 100%;
}

.cg-vm-card:hover {
	transform: translateY(-8px);
	border-color: rgba(109, 192, 90, 0.2);
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35), 0 0 15px rgba(21, 70, 131, 0.08);
}

/* Colored accent bottom ribbon reveals on hover */
.cg-vm-card::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 4px;
	background-color: #6DC05A;
	transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-vm-card:hover::after {
	width: 100%;
}

/* Circular Soft-Badge Icons */
.cg-vm-card-icon-badge {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background-color: rgba(21, 70, 131, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid rgba(21, 70, 131, 0.1);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-vm-card:hover .cg-vm-card-icon-badge {
	background-color: #154683;
	border-color: #154683;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(21, 70, 131, 0.2);
}

.cg-vm-card-icon-badge svg {
	fill: #154683;
	transition: fill 0.3s ease, transform 0.3s ease;
}

.cg-vm-card:hover .cg-vm-card-icon-badge svg {
	fill: #ffffff;
	transform: scale(1.05);
}

/* Text Content Bodies */
.cg-vm-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.cg-vm-card-title {
	font-size: 19.5px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	line-height: 1.3;
	transition: color 0.3s ease;
}

.cg-vm-card:hover .cg-vm-card-title {
	color: #6DC05A;
}

.cg-vm-card-desc {
	font-size: 14px;
	color: #94a3b8;
	line-height: 1.55;
	margin: 0;
	font-weight: 300;
}

/* Learn more bottom actions */
.cg-vm-card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: #6DC05A;
	margin-top: 8px;
	transition: color 0.3s ease;
}

.cg-vm-more-arrow {
	transition: transform 0.3s ease;
}

.cg-vm-card:hover .cg-vm-more-arrow {
	transform: translateX(4px);
}

/* ==========================================
 * RESPONSIVE ADJUSTMENTS
 * ========================================== */

@media (max-width: 991px) {
	.cg-vm-wrapper {
		padding: 75px 0;
	}

	.cg-vm-header {
		margin-bottom: 50px;
	}

	.cg-vm-heading {
		font-size: 32px;
	}

	.cg-vm-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}
}

@media (max-width: 767px) {
	.cg-vm-heading {
		font-size: 28px;
	}

	.cg-vm-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.cg-vm-card {
		padding: 30px 20px;
	}
}
