/* ========== SPECIALTY MENU HOVER EFFECTS ========== */
.specialty-item {
	transition: all 0.3s ease;
}

.specialty-item:hover {
	background-color: #f0f8ff;
	border-color: #048CD6 !important;
	transform: translateX(5px);
}

.specialty-item a:hover {
	color: #048CD6 !important;
}

/* ========== DOCTOR CARDS - RESPONSIVE FIX ========== */

/* Doctor Card Container */
.doctor-card {
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.doctor-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Card Inner Content */
.doctor-card-content {
	padding: 2rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}

/* Doctor Photo - Fixed Size & Contained */
.doctor-photo {
	width: 140px;
	height: 140px;
	min-width: 140px;
	min-height: 140px;
	max-width: 140px;
	max-height: 140px;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	margin-bottom: 1.5rem;
	border: 4px solid #f1f5f9;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Doctor Name Container */
.doctor-name {
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 0.75rem;
}

/* Specialty & Location */
.doctor-specialty {
	font-weight: 600;
	color: #048CD6;
	margin-bottom: 0.25rem;
}

.doctor-location {
	color: #64748b;
	margin-bottom: 1.5rem;
}

/* Button Container */
.doctor-buttons {
	display: flex;
	gap: 0.5rem;
	width: 100%;
	margin-top: auto;
}

.doctor-buttons .btn {
	flex: 1;
	font-size: 13px;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	transition: all 0.2s ease;
}

/* ========== SEARCH SECTION ========== */
.search-section {
	background-color: #8EB4E3;
}

/* ========== SPECIALTY FILTER ========== */
.specialty-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.specialty-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
}

.specialty-box {
	width: 225px;
	cursor: pointer;
}

.specialty-item a {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* ========== VIEW MORE BUTTON ========== */
.view-more-btn {
	background-color: #048CD6;
	width: 100%;
	border-radius: 5rem !important;
}

/* ========== TABLET & iPAD RESPONSIVE ========== */

/* iPad Pro & Larger Tablets (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
	.doctor-photo {
		width: 120px;
		height: 120px;
		min-width: 120px;
		min-height: 120px;
		max-width: 120px;
		max-height: 120px;
	}

	.doctor-card-content {
		padding: 1.5rem 1rem;
	}

	.doctor-name {
		min-height: 65px;
		font-size: 14px;
	}
}

/* Standard Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
	.col-sm-3 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.doctor-photo {
		width: 130px;
		height: 130px;
		min-width: 130px;
		min-height: 130px;
		max-width: 130px;
		max-height: 130px;
	}

	.doctor-card-content {
		padding: 1.75rem 1.25rem;
	}

	.doctor-name {
		min-height: 70px;
		font-size: 14px;
	}
}

/* Small Tablet & Large Phone (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
	.col-sm-3 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.doctor-photo {
		width: 110px;
		height: 110px;
		min-width: 110px;
		min-height: 110px;
		max-width: 110px;
		max-height: 110px;
	}

	.doctor-card-content {
		padding: 1.5rem 1rem;
	}

	.doctor-name {
		min-height: 75px;
		font-size: 13px;
	}

	.doctor-buttons .btn {
		font-size: 12px;
		padding: 0.45rem 0.5rem;
	}
}

/* Mobile (< 576px) */
@media (max-width: 575px) {
	.col-sm-3 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.doctor-photo {
		width: 120px;
		height: 120px;
		min-width: 120px;
		min-height: 120px;
		max-width: 120px;
		max-height: 120px;
	}

	.doctor-card-content {
		padding: 2rem 1.5rem;
	}

	.doctor-name {
		min-height: 60px;
		font-size: 15px;
	}

	.doctor-buttons {
		flex-direction: row;
	}

	.doctor-buttons .btn {
		font-size: 13px;
	}
}
