.section5{
	width: 100%;
	height: 100%;
}

.sectio5-top{
	width: 90%;
    margin-top: 10%;
    margin-left: 5%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
	gap: 20px;
}

.section5-top-card{
	width: 100%;
	height: 100%;
}

.section5-top-card h1{
	font-size: 40px;
}

.section5-top-card h1 span{
	color: #f5a934;
}

.section5-top-card ul{
	margin-top: 2%;
	margin-left: 5%;
	line-height: 35px;
	list-style: none;
}

.section5-top-card ul li{
	color: #0e2340;
	font-weight: 500;
}
.section5-top-card ul li::before {
  content: "\2022";
  color: #f5a934;
  font-weight: bold;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}

.section5-top-card a{
	text-decoration: none;
	display: inline-flex;
	margin-top: 4.5%;
	margin-left: 2%;
	width: 50%;
}

.section5-top-card a hr{
	width: 60px;
	height: 0px;
	border: 2.5px solid #f5a934;
	margin-top: 4%;
	margin-left: 2%;
	transition: 0.3s;
}
.section5-top-card a h2{
	font-size: 17px;
	font-weight: 600;
	color: #f5a934;
	transition: 0.3s;
}

.section5-top-card a:hover h2{
	color: #2f2f2f;
}

.section5-top-card a:hover hr{
	border: 2.5px solid #2f2f2f;
	width: 40px;
}

.section5-top-card p{
	margin-top: 2%;
	color: #484848;
	line-height: 30px;
	font-size: 17px;
}

.section5-end{
	width: 90%;
    margin-top: 7%;
    margin-left: 5%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
	gap: 20px;
}
.section5-end-card{
	position: relative;
	width: 100%;
	height: 450px;
	transform: skew(-2deg);
	border-radius: 3px;
	border: none;
	transition: height 0.5s ease-in-out;
}

.section5-end-card h5{
  color: white;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 4px;
  -webkit-text-stroke-color: white;
  font-size: 80px;
  text-align: right;
  margin-top: 79%;
  opacity: 0.09;
}

.section5-end #section5-end-card1{
	background-image: url('sec5-img3.jpg');
}

.section5-end #section5-end-card2{
	background-image: url('sec5-img2.jpg');
}

.section5-end #section5-end-card3{
	
	background-image: url('sec5-img1.jpg');
}

.overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 13%;
  background-color: #132c4f;
  overflow: hidden;
  transition: height 0.5s ease-in-out;
}

.overlay span{
	display: flex;
}

.overlay span h2 {
  color: white;
  font-size: 20px;
  text-align: left;
  margin-top: 3%;
  margin-left: 2%;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.overlay span h3{
  color: white;
  font-size: 20px;
  text-align: right;
  margin-top: 3%;
  margin-left:29%;
  font-size: 22px;
  transform: rotateZ(-90deg);
   transition: 0.5s ease-in-out;
}

.overlay span a{
	text-decoration: none;
	display: flex;
	margin-top: 5%;
	margin-left: 4%;
	width: 100%;
		transition: 0.3s ease;
}

.overlay span a h4{
	color: #f5a934;
	transition: 0.3s ease;
}

.overlay span a hr{
	width: 65px;
	height: 0px;
	border: 2.5px solid #f5a934;
	margin-top: 3%;
	margin-left: 1.5%;
	background-color: #f5a934;
	transition: 0.3s ease;

}

.section5-end-card:hover .overlay {
  height: 55%;
}

.overlay p{
	opacity: 0%;
	width: 95%;
	margin-top: 3%;
	margin-left: 2.5%;
	color: #f7f5f5;
	transition: 0.3s ease;
}

.section5-end-card:hover .overlay p{
	opacity: 1;
}

.section5-end-card:hover .overlay span h3{
	 transform: rotateZ(0deg);
}

.overlay span a:hover h4{
	color: white;
}

.overlay span a:hover hr{
	border: 2.5px solid white;
	background-color: white;
	width: 45px;

}