.csc-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: stretch;
	width: 100%;
}

.csc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: 100%;
	overflow: hidden;
	background-color: #141414;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	padding: 40px 32px;
	transition-property: transform, background-color, border-color, box-shadow;
	transition-timing-function: ease;
}

.csc-header {
	display: flex;
	width: 100%;
}

/* Icon on top of title (stacked) */
.csc-icon-top .csc-header {
	flex-direction: column;
	align-items: flex-start;
}

/* Icon beside title (inline, left of title) */
.csc-icon-left .csc-header {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.csc-icon-left .csc-title {
	margin-bottom: 0;
}

.csc-icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	background-color: #1c1c1c;
	border-radius: 8px;
	margin-bottom: 24px;
	transition-property: transform, background-color;
	transition-timing-function: ease;
}

.csc-icon-left .csc-icon-box {
	margin-bottom: 0;
}

.csc-icon-box img {
	max-width: 60%;
	max-height: 60%;
	object-fit: contain;
}

.csc-icon-box i {
	font-size: 24px;
	color: #c9a24b;
	line-height: 1;
}

.csc-icon-box svg {
	width: 24px;
	height: 24px;
	fill: #c9a24b;
}

.csc-title {
	color: #ffffff;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 12px;
	transition-property: color;
	transition-timing-function: ease;
}

.csc-desc {
	color: #a8a8a8;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 28px;
	transition-property: color;
	transition-timing-function: ease;
}

.csc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: #e5e5e5;
	background-color: transparent;
	border: 1px solid #4a4a4a;
	border-radius: 30px;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition-property: color, background-color, border-color, transform;
	transition-timing-function: ease;
}

.csc-btn-arrow {
	display: inline-block;
	transition: transform 0.3s ease;
}

.csc-btn:hover .csc-btn-arrow {
	transform: translateX(4px);
}

/* ---------- Hover animation variants ---------- */

/* Lift Up (default look) */
.csc-anim-lift .csc-card:hover {
	transform: translateY(-8px);
}

/* Border Glow */
.csc-anim-glow .csc-card:hover {
	box-shadow: 0 0 0 1px currentColor, 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Icon Zoom */
.csc-anim-zoom .csc-card:hover .csc-icon-box {
	transform: scale(1.15) rotate(-4deg);
}

/* Background Shift */
.csc-anim-shift .csc-card {
	background-size: 200% 200%;
	background-position: 0% 50%;
}
.csc-anim-shift .csc-card:hover {
	background-position: 100% 50%;
}

/* None */
.csc-anim-none .csc-card:hover {
	transform: none;
}

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

@media (max-width: 600px) {
	.csc-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}
