.dr1013doctor {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #f7faff;
}

.dr1013doctor section {
	max-width: 1300px;
	margin: auto;
	padding: 60px 20px;
}

.dr1013doctor h2 {
	text-align: center;
	font-size: 2.8rem;
	margin-bottom: 60px;
	color: #003366;
}

.doctors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.doctor-card {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

.doctor-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.doctor-photo {
	width: 100%;
	height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #1f1f1f, #2c2c2c);
	border-radius: 24px 24px 0 0;
	/* Clipping image hover inside the container */
	overflow: hidden;
}

.doctor-photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;
	box-shadow: none;
	border-radius: 0;
}

.doctor-card:hover .doctor-photo img {
	transform: scale(1.05);
	filter: brightness(1.1) contrast(1.1);
	box-shadow: 0 8px 20px rgba(0, 114, 255, 0.4);
	border-radius: 12px;
}

.doctor-info {
	padding: 22px;
}

.doctor-info h3 {
	font-size: 1.4rem;
	color: #003366;
	margin-bottom: 5px;
}

.dr1013doctor .qual, .role, .dept {
	font-size: 0.95rem;
	margin: 3px 0;
}

.dr1013doctor .qual {
	color: #666;
}

.dr1013doctor .role {
	font-weight: 500;
	color: #006699;
}

.dr1013doctor .dept {
	color: #444;
}

.dr1013doctor .badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #0072ff;
	color: #fff;
	font-size: 0.8rem;
	padding: 6px 10px;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 114, 255, 0.3);
}

.dr1013doctor .doctor-more {
	text-align: right;
	padding: 0 22px 20px;
	margin-top: auto;
}

.dr1013doctor .more-btn {
	display: inline-block;
	padding: 8px 16px;
	background-color: #0072ff;
	color: #fff;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.dr1013doctor .more-btn:hover {
	background-color: #005fcc;
}

/* Responsive Styles */
@media ( max-width : 768px) {
	.dr1013doctor h2 {
		font-size: 2rem;
	}
	.doctor-photo {
		height: 200px;
	}
}