/* School Directory Card Styling */
.school-directory-card {
	background-color: #ffffff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	position: relative;
	margin-bottom: 30px;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.school-directory-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.school-directory-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, #031652, #428713);
}

.card-content {
	padding: 40px;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.icon-container {
	margin-right: 40px;
	flex-shrink: 0;
}

.school-icon-large {
	width: 120px;
	height: 120px;
	border-radius: 60px;
	background: linear-gradient(135deg, #031652, #1d3a8a);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 50px;
	box-shadow: 0 8px 20px rgba(29, 58, 138, 0.3);
	transition: all 0.3s ease;
}

.school-directory-card:hover .school-icon-large {
	transform: scale(1.1) rotate(5deg);
}

.directory-info {
	flex: 1;
}

.directory-info h3 {
	color: #031652;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 20px;
}

.directory-info p {
	color: #555;
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 15px;
}

.find-school-btn {
	padding: 12px 30px;
	font-size: 18px;
	font-weight: 600;
	background: linear-gradient(135deg, #031652, #1d3a8a);
	border: none;
	border-radius: 50px;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(29, 58, 138, 0.3);
}

.find-school-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(29, 58, 138, 0.4);
	background: linear-gradient(135deg, #0c2875, #254db3);
}

.find-school-btn i {
	transition: transform 0.3s ease;
}

.find-school-btn:hover i {
	transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.card-content {
		flex-direction: column;
		text-align: center;
		padding: 30px 20px;
	}
	
	.icon-container {
		margin-right: 0;
		margin-bottom: 25px;
	}
	
	.directory-info h3 {
		font-size: 24px;
	}
}