.goals-custom-content{
	max-width: 1160px;
}
.box-container{
	max-width: 1360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.goal-content{
	margin-top: 110px;
	justify-content: ;
}

.goals-list-item{
	position: relative;
	border: 1px solid;
	border-color: #DBDBDB;
	max-width: 400px;
	max-height: 332px;
	width: 100%;
	height: 100%;
	display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 68px 75px;
    margin: 7px;
    transition: 320ms ease;
}
.goals-list-item:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 17px;
	max-width: 285px;
	width: 100%;
	background: var(--pink);
	opacity: 0;
	transition: opacity 320ms ease;
}
.goals-list-item i{
	position: absolute;
	bottom: 0;
	right: 0;
	width: 35px;
	height: 35px;
	background: var(--pink);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 320ms ease;
}
.goals-section-title{
	color: var(--pink);
	font-family: fontBold;
	font-size: 45px;
	text-transform: uppercase;
	margin-bottom: 30px;
	letter-spacing: -2px;
}
.goals-subtitle{
	max-width: 700px;
	font-size: 22px;
	color: var(--dark-blue) ;
	margin-bottom: 35px;
	font-weight: 700;
}

.goals-icon{
	fill: #026BE4;
	margin-bottom: 25px;
}

.goals-list-item h4{
	font-size: 24px;
	font-weight: 700;
	color: var(--dark-blue);
	padding: 5px;
}

.hover-thumb{
	display: none;
}

.goals-list-item p{
	font-size: 15px;
	font-weight: 400;
	color:#656465 ;
	line-height: 23px;
}

.goals-list-item:hover{
	background: var(--light-blue);
}

.goals-list-item:hover .standart-img{
	display: none;
}

.goals-list-item:hover .hover-thumb{
	display: block;
}
.goals-list-item:hover:before{
	opacity: 1;
}
.goals-list-item:hover i{
	opacity: 1;
}
.goals-list-item:hover .goals-icon{
	fill: #fff;
}
.goals-list-item:hover h4{
	color: #fff;
	background: var(--dark-blue);
}

.goals-list-item:hover p{
	color: #fff;
}

.goals-button{
	margin-top: 70px;
	margin-bottom: 85px;
	background: var(--light-blue);
}
.goals-button i{
	width: 35px;
	height: 35px;
	background: var(--pink);
	transition: background 320ms ease, color 320ms ease;
}
.goals-button:hover{
	background: var(--pink);
	color: #fff;
}

@media only screen and (max-width: 1280px){
	.goals-list-item{
		max-width: 370px;
	    padding: 68px 50px;
	}
}


@media only screen and (max-width:  1024px){
	.goal-content{
		margin-top: 100px;
	}
	.goals-section-title{
		font-size: 40px;
	}
	.goals-subtitle{
		font-size: 22px;
	}
}


@media only screen and (max-width: 768px){
	.goals-section-title {
    	font-size: 30px;
	}
	.goals-button{
		margin-top: 20px;
	}
	.goals-subtitle{
		font-size: 18px;
	}
	.goals-list-item{
		padding: 30px;
	}
	.goals-icon{
		margin-bottom: 15px;
	}
	.goals-list-item{
		max-height: 100%;
	}
	.goals-list-item h4{
		font-size: 20px;
		padding: 0;
	}
}

@media only screen and (max-width: 578px){
	.goal-content{
		margin-top: 80px;
	}
	.goals-section-title{
		margin-bottom: 20px;
	}
	.goals-subtitle{
		margin-bottom: 20px;
	}

}
