/**
 * Stylesheet: CG About Details Widget
 * Asymmetrical overlapping image columns, vertical counter badges, narrative rows, and CTA hover transitions.
 */

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

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

.cg-about-details-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: ASYMMETRICAL OVERLAPS & COUNTER
 * ========================================== */

.cg-about-details-visuals {
	position: relative;
	height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	width: 100%;
}

/* Left tall image card */
.cg-about-details-img-wrap-left {
	position: absolute;
	left: 0;
	top: 0;
	width: 260px;
	height: 400px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 25px -5px rgba(21, 70, 131, 0.08), 0 10px 10px -5px rgba(21, 70, 131, 0.03);
	z-index: 2;
	border: 4px solid #ffffff;
	transition: transform 0.4s ease, border-color 0.3s ease;
}

.cg-about-details-img-wrap-left:hover {
	transform: translateY(-5px);
	border-color: #6DC05A;
}

/* Right tall overlapping image card */
.cg-about-details-img-wrap-right {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 240px;
	height: 360px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 25px -5px rgba(21, 70, 131, 0.08), 0 10px 10px -5px rgba(21, 70, 131, 0.03);
	z-index: 4;
	border: 4px solid #ffffff;
	transition: transform 0.4s ease, border-color 0.3s ease;
}

.cg-about-details-img-wrap-right:hover {
	transform: translateY(-5px);
	border-color: #154683;
}

.cg-about-details-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.cg-about-details-img-wrap-left:hover .cg-about-details-img,
.cg-about-details-img-wrap-right:hover .cg-about-details-img {
	transform: scale(1.05);
}

/* Floating experience badge counter */
.cg-about-details-badge {
	position: absolute;
	left: 48%;
	top: 15%;
	transform: translateX(-50%);
	width: 160px;
	height: 130px;
	border-radius: 12px;
	background-color: #6DC05A;
	padding: 22px 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-shadow: 0 12px 30px -5px rgba(109, 192, 90, 0.35);
	z-index: 6;
	border: 4px solid #ffffff;
	color: #ffffff;
	transition: transform 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.cg-about-details-badge:hover {
	transform: translateX(-50%) scale(1.04);
	background-color: #154683;
	box-shadow: 0 12px 30px -5px rgba(21, 70, 131, 0.3);
}

.cg-about-details-badge-years {
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 6px;
	letter-spacing: -0.5px;
}

.cg-about-details-badge-label {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	opacity: 0.95;
	line-height: 1.25;
}

/* ==========================================
 * RIGHT COLUMN: NARRATIVE CONTENT BLOCK
 * ========================================== */

.cg-about-details-content {
	display: flex;
	flex-direction: column;
}

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

.cg-about-details-heading {
	font-size: 38px;
	font-weight: 800;
	color: #154683;
	line-height: 1.25;
	margin: 0 0 25px 0;
	letter-spacing: -0.8px;
	position: relative;
	padding-bottom: 18px;
}

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

.cg-about-details-heading-underline {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 90px;
	height: 4px;
	background: linear-gradient(90deg, #154683 0%, rgba(21, 70, 131, 0.4) 60%, transparent 100%);
	border-radius: 2px;
}

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

/* Highlight bullets rows */
.cg-about-details-bullets {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 40px;
}

.cg-about-details-bullet-row {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.cg-about-details-bullet-icon-badge {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: rgba(21, 70, 131, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
	transition: background-color 0.3s ease;
}

.cg-about-details-bullet-row:hover .cg-about-details-bullet-icon-badge {
	background-color: rgba(109, 192, 90, 0.12);
}

.cg-about-details-bullet-icon-badge svg {
	fill: #154683;
	transition: fill 0.3s ease;
}

.cg-about-details-bullet-row:hover .cg-about-details-bullet-icon-badge svg {
	fill: #6DC05A;
}

.cg-about-details-bullet-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cg-about-details-bullet-title {
	font-size: 16.5px;
	font-weight: 700;
	color: #154683;
	margin: 0;
}

.cg-about-details-bullet-text {
	font-size: 14px;
	color: #64748b;
	margin: 0;
	line-height: 1.4;
}

/* Primary CTA Button */
.cg-about-details-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 14.5px;
	font-weight: 700;
	color: #ffffff;
	background-color: #154683;
	padding: 13px 30px;
	border-radius: 50px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 4px 12px rgba(21, 70, 131, 0.15);
}

.cg-about-details-btn:hover {
	background-color: #6DC05A;
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(109, 192, 90, 0.25);
}

.cg-about-details-btn-arrow {
	transition: transform 0.3s ease;
}

.cg-about-details-btn:hover .cg-about-details-btn-arrow {
	transform: translateX(4px);
}

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

@media (max-width: 991px) {
	.cg-about-details-section-wrapper {
		padding: 70px 0;
	}

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

	.cg-about-details-visuals {
		max-width: 520px;
		margin: 0 auto;
	}

	.cg-about-details-content {
		align-items: center;
		text-align: center;
	}

	.cg-about-details-heading-underline {
		left: 50%;
		transform: translateX(-50%);
	}

	.cg-about-details-bullet-row {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.cg-about-details-visuals {
		height: 380px;
	}

	.cg-about-details-img-wrap-left {
		width: 190px;
		height: 290px;
	}

	.cg-about-details-img-wrap-right {
		width: 175px;
		height: 260px;
	}

	.cg-about-details-badge {
		width: 125px;
		height: 105px;
		padding: 12px;
	}

	.cg-about-details-badge-years {
		font-size: 26px;
	}

	.cg-about-details-badge-label {
		font-size: 9px;
	}

	.cg-about-details-heading {
		font-size: 30px;
	}

	.cg-about-details-bullet-row {
		gap: 12px;
	}

	.cg-about-details-bullet-icon-badge {
		width: 34px;
		height: 34px;
	}
}
