/* ==================== Case Grid Section ==================== */
.case-grid-section {
	padding: 60px 20px;
	background: #fff;
}

.case-header {
	text-align: center;
	margin-bottom: 40px;
}

.case-title {
	font-size: 40px;
	font-weight: 700;
	color: #333;
	margin-bottom: 15px;
}

.case-subtitle {
	font-size: 16px;
	color: #666;
	letter-spacing: 1px;
}

.case-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4.5rem;
	justify-content: center;
	overflow: hidden;
}

.case-item {
	width: 100%;
}

.case-img-box {
	width: 100%;
	/*height: 60.2rem;*/
	overflow: hidden;
}

.case-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.case-item-title {
	width: 100%;
	font-size: 20px;
	color: #333;
	line-height:30px;
	text-align: center;
	margin-top: 15px;
}

/* Pagination */
.case-pagination {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 60px 0 0 0;
}

.page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 55px;
	height: 45px;
	padding: 0 15px;
	background: #e8e8e8;
	font-size: 16px;
	color: #333;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s;
}

.page-btn:hover {
	background: #164b95;
	color: #fff;
}

.page-btn.active {
	background: #164b95;
	color: #fff;
}

.page-next {
	min-width: 120px;
	font-size: 16px;
}

/* ==================== Tablet Responsive ==================== */
@media (max-width: 1024px) {
	.case-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 3rem;
	}

	.case-item {
		width: 100%;
	}

	.case-img-box {
		width: 100%;
		height: auto;
	}

	.case-item-title {
		font-size: 18px;
		margin-bottom: 10px;
	}

	.case-pagination {
	
	}
}

/* ==================== Mobile Responsive ==================== */
@media (max-width: 768px) {
	.case-grid-section {
		padding: 40px 20ox;
	}

	.case-header {
		padding: 0 1rem;
	}

	.case-title {
		font-size: 30px;
	}

	.case-subtitle {
		font-size: 15px;
	}

	.case-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.case-img-box {
		width: 100%;
		height: auto;
	}

	.case-item-title {
		font-size: 16px;
		margin-top:5px;
	}

	.case-pagination {
		
		margin-top: 30px;
	}

	.page-btn {
		width: 55px;
		height: 42px;
		line-height:42px;
		font-size: 18px;
	}

	.page-next {
		width: 90px;
		font-size:18px;
	}
}
