/* ===== SPECIALTIES PAGE ===== */

/* Hero Banner */
.spc-hero {
	background-image:
		url("https://kpsmedicare.com/wp-content/uploads/2025/07/Banner-scaled.jpg");
	background-size: cover;
	background-position: center center;
	padding: 52px 40px;
	border-radius: 20px;
}

.spc-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
	pointer-events: none;
}

.spc-hero h1 {
	color: #fff;
	font-size: 2.6rem;
	font-weight: 800;
	margin: 0;
	letter-spacing: 0.5px;
	position: relative;
}

/* Container */
.spc-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Grid Section */
.spc-grid-section {
	padding: 60px 40px;
	background: #fff;
}

.spc-section-title {
	color: #e0196e;
	font-size: 1.7rem;
	font-weight: 700;
	text-align: center;
	margin: 0 0 40px 0;
}

/* Cards Grid */
.spc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* Card */
.spc-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease;
}

.spc-card:hover {
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.13);
}

.spc-card-img {
	width: 100%;
	overflow: hidden;
}

.spc-card-img img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.spc-card:hover .spc-card-img img {
	transform: scale(1.04);
}

.spc-card-body {
	padding: 20px 22px 24px;
	flex: 1;
}

.spc-card-body h3 {
	color: #0d9faa;
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	text-align: center;
}

.spc-card-body p {
	color: #444;
	font-size: 0.88rem;
	line-height: 1.65;
	margin: 0;
	text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
	.spc-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 22px;
	}
}

@media (max-width: 640px) {
	.spc-hero {
		padding: 40px 20px;
	}

	.spc-hero h1 {
		font-size: 1.9rem;
	}

	.spc-grid-section {
		padding: 40px 20px;
	}

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

	.spc-card-img img {
		height: 180px;
	}
}
