.section8{
	width: 100%;
	height: 100%;
	margin-top: 11%;
}

.section8 h1{
	margin-left: 5%;
}

.section8 #section8-top-a{
	display: inline-flex;
	text-decoration:none;
	margin-top: 1%;
	margin-left: 5%;
	width: 150px;
}

.section8 #section8-top-a h2{
	font-weight: 600;
	font-size: 18px;
	color: #f5a934;
	transition: 0.5s ease;
}

.section8 #section8-top-a .section8-top-line{
	width: 70px;
	height: 0px;
	border: 2.3px solid #f5a934;
	margin-top: 8%;
	margin-left: 5%;
	transition: 0.5s ease;
}

.section8 #section8-top-a:hover .section8-top-line{
	width: 50px;
	border: 2.3px solid #132c4f;
}

.section8 #section8-top-a:hover h2{
	color: #132c4f;
}

.section8-cont{
	width: 80%;
    margin-top: 4%;
    margin-left: 10%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
	gap: 20px;
}
.section8-card{
	width: 100%;
	height: 100%;
	transition: .4s ease;
	border-radius: 5px;
}

.section8-card img{
	width: 100%;
	height: auto;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}

.section8-card p{
	color: #626261;
	margin-top: 2%;
	margin-left: 1%;
	font-weight: 500;
}

.section8-card h1{
	margin-top: 3%;
	margin-left: 1%;
	font-size: 25px;
	font-weight: 500;
}

.section8-card a{
	text-decoration: none;
}

.section8-card a h2{
	font-size: 18px;
		color: #132c4f;
	font-weight: 500;
	margin-top: 4%;
	margin-left: 2%;
}


#section8-left:hover{
	background-color: #132c4f;
}

#section8-left:hover p{
	color: white;
}

#section8-left:hover h1{
	color: white;
}

#section8-left:hover a h2{
	color: white;
}

#section8-left a:hover {
	color: white;
	text-decoration: underline;
}



.section8-inner-cont{
	width: 100%;
    margin-top: 0%;
    margin-left: 0%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
	gap: 15px;
}

.section8-inner-card{
	border-radius: 5px;
	width: 100%;
	height: 100%;
	transition: .4s ease;
}

.section8-inner-card p{
	font-size: 14px;
}

.section8-inner-card h1{
	font-size: 17px;
}

.section8-inner-card a h2{
	margin-top: 5%;
	font-size: 15px;
}
.section8-inner-blank{
	width: 100%;
	height: 40px;
}
.section8-inner-card a:hover{
	text-decoration: underline;
	color: white;
}
.section8-inner-card:hover{
	background-color: #132c4f;
}

.section8-inner-card:hover p{
	color: white;
}

.section8-inner-card:hover h1{
	color: white;
}

.section8-inner-card:hover a h2{
	color: white;
}