/**
 * Stylesheet: CG Why Choose Us Widget
 * Detailed growing progress lines, rounded overlays, clean grid split screens, and responsive timeline layouts.
 */

.cg-wcu-section-wrapper {
	position: relative;
	background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
	overflow: hidden;
	width: 100%;
	font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	padding: 95px 0;
	box-sizing: border-box;
}

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

.cg-wcu-container {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 65px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

/* ==========================================
 * LEFT COLUMN: FEATURED IMAGE & BADGE OVERLAY
 * ========================================== */

.cg-wcu-visual-block {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.cg-wcu-img-card {
	position: relative;
	width: 100%;
	border-radius: 20px;
	overflow: visible;
	box-shadow: 0 20px 25px -5px rgba(21, 70, 131, 0.04), 0 10px 10px -5px rgba(21, 70, 131, 0.02);
}

.cg-wcu-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 20px;
	border: 4px solid #ffffff;
	transition: transform 0.4s ease;
}

.cg-wcu-img-card:hover .cg-wcu-img {
	transform: scale(1.01);
}

/* Hanging overlay card */
.cg-wcu-img-overlay-card {
	position: absolute;
	left: -20px;
	bottom: -20px;
	width: 270px;
	background-color: #ffffff;
	border-radius: 12px;
	padding: 24px 20px;
	box-shadow: 0 15px 35px rgba(21, 70, 131, 0.12), 0 5px 12px rgba(21, 70, 131, 0.04);
	border: 1.5px solid #cbd5e1;
	z-index: 5;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.cg-wcu-img-card:hover .cg-wcu-img-overlay-card {
	transform: translateY(-4px) scale(1.02);
	border-color: #6DC05A;
}

.cg-wcu-overlay-title {
	font-size: 15.5px;
	font-weight: 700;
	color: #154683;
	margin: 0 0 6px 0;
	transition: color 0.3s ease;
}

.cg-wcu-img-card:hover .cg-wcu-overlay-title {
	color: #6DC05A;
}

.cg-wcu-overlay-text {
	font-size: 12.5px;
	color: #64748b;
	margin: 0;
	line-height: 1.45;
}

/* ==========================================
 * RIGHT COLUMN: NARRATIVE & PROGRESS LINES
 * ========================================== */

.cg-wcu-content-block {
	display: flex;
	flex-direction: column;
}

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

.cg-wcu-title {
	font-size: 38px;
	font-weight: 800;
	color: #154683;
	line-height: 1.25;
	margin: 0 0 25px 0;
	letter-spacing: -0.8px;
}

.cg-wcu-accent {
	color: #6DC05A;
}

.cg-wcu-desc {
	font-size: 16px;
	line-height: 1.65;
	color: #475569;
	margin: 0 0 35px 0;
}

/* Detailed progress skill bars */
.cg-wcu-progress-bars {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.cg-wcu-bar-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cg-wcu-bar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.cg-wcu-bar-label {
	font-size: 14.5px;
	font-weight: 700;
	color: #154683;
}

.cg-wcu-bar-percent-text {
	font-size: 14px;
	font-weight: 700;
	color: #6DC05A;
}

.cg-wcu-bar-track {
	width: 100%;
	height: 8px;
	background-color: #e2e8f0;
	border-radius: 50px;
	overflow: hidden;
}

.cg-wcu-bar-fill {
	height: 100%;
	background-color: #6DC05A;
	border-radius: 50px;
	width: 0; /* Default width triggers grow transition in browser */
	transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

	.cg-wcu-container {
		grid-template-columns: 1fr;
		gap: 55px;
	}

	.cg-wcu-visual-block {
		max-width: 520px;
		margin: 0 auto;
	}

	.cg-wcu-content-block {
		align-items: center;
		text-align: center;
	}

	.cg-wcu-bar-header {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.cg-wcu-img-overlay-card {
		position: relative !important;
		left: auto !important;
		bottom: auto !important;
		transform: none !important;
		width: 100%;
		margin-top: 20px;
		box-shadow: none !important;
		border: 1px solid #cbd5e1 !important;
	}

	.cg-wcu-title {
		font-size: 30px;
	}

	.cg-wcu-bar-label {
		font-size: 13.5px;
	}
}
