/*
 * PRODUCTS
*/

@import 'bottom_sec.css';
@import 'header_block.css';
@import 'anchor-menu.css';

#overview-sec{
	position: relative;
	padding: 52px 0 0;
}
#overview-sec .sec-text p{
	font-size: 14px;
	line-height: 1.85em;
	margin-top: 0;
	margin-bottom: 1.85em;
}
.overview-sec__img-block{
	position: relative;
	border-radius: 20px;
	max-width: 100%;
	height: 0;
	padding-bottom: 100%;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
#overview-sec::after{
	width: 60px;
	height: 60px;
	top: 0;
	right: 40px;
}


#products-sec{
	position: relative;
	padding: 80px 0 40px;
}
/*
.blue-wave #products-sec{
	background-image: url(../img/blue-wave.png);
	background-position: top 400px center;
	background-size: 100% 565px;
	background-repeat: no-repeat;
}
*/
#products-sec .container{
	position: relative;
	z-index: 3;
}
#products-sec .sec-title,
#products-sec .sec-desc{
	text-align: center;
	margin-bottom: 5px;
}
.products-block{
	margin-top: 15px;
}
#products-sec::before,
#products-sec::after,
#overview-sec::before,
#overview-sec::after{
	content: '';
	display: block;
	position: absolute;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url(../img/circle.png);
}
#products-sec::before{
	width: 52px;
	height: 52px;
	right: calc(50% - 140px);
	top: 28px;
}
#products-sec::after{
	width: 68px;
	height: 68px;
	left: calc(50% - 145px);
	bottom: 365px;
}
.product-block{
	position: relative;
	text-align: center;
	margin-bottom: 26px;
	padding-bottom: 34px !important;
}
.product-block__title{
	display: block;
	max-width: 160px;
	font-size: 16px;
	line-height: 1.7em;
	color: #3F5BA9;
	font-weight: 600;
	margin: 0 auto 5px;
}
.product-block__text{
	display: block;
	font-size: 13.5px;
	line-height: 1.85em;
	margin-bottom: 30px;
}
.product-block__icon{
	display: block;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	-webkit-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.16);
	-moz-box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.16);
	box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.16);
	background-color: #fff;
	margin: 0 auto 15.5px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.product-block__btn-col{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
}
@media screen and (min-width: 576px){
	#products-sec::after{
    	left: calc(50% - 260px);
    	bottom: 270px;
    }

}
@media screen and (min-width: 768px){
	#overview-sec{
		padding-top: 80px;
	}
	.overview-sec__img-block{
		padding: 0;
		height: 100%;
		min-height: 400px;
	}
	.overview-sec__text-col{
		display: flex;
		display: -webkit-flex;
		flex-direction: column;
		-webkit-flex-direction: column;
		justify-content: center;
		-webkit-justify-content: center;
		margin-bottom: 0;
	}
	#overview-sec .sec-text p:last-child{
		margin-bottom: 0;
	}
	.products-block{
		display: flex;
		display: -webkit-flex;
		justify-content: center;
		-webkit-justify-content: center;
		flex-wrap: wrap;
		margin-top: 25px;
	}
	.product-block{
		width: 50%;
		padding: 0 20px;
	}
	.product-block__title{
		max-width: 100%;
	}
	#products-sec{
		background-image: none;
	}
}
@media screen and (min-width: 992px){
	#overview-sec::after{
		top: -45px;
		right: calc(50% - 465px);
	}
	#products-sec::before,
	#products-sec::after,
	#overview-sec::before,
	#overview-sec::after,
	#contact-us-sec .container::before{
		background-image: url(../img/circle-2.png);
	}

	.product-block{
		width: 33.3333%;
	}
	#products-sec{
		padding-bottom: 150px;
	}
	#products-sec::after{
	    width: 150px;
	    height: 150px;
	    left: calc(50% + 340px);
	    bottom: 290px;
	}
	.products-block{
		margin-top: 35px;
	}
	.product-block__icon{
		transition: .3s all;
	}
	.product-block:hover .product-block__icon{
		transform: scale(1.2);
	}
	#contact-us-sec .container{
		position: relative;
	}
	#contact-us-sec .container::before{
		content: '';
		display: block;
		position: absolute;
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		width: 100px;
		height: 100px;
		top: -130px;
		left: 0;
	}
}
@media screen and (min-width: 1200px){
	#overview-sec{
		padding: 147px 0 400px;
	}
	.blue-wave #overview-sec{
		background-image: url(../img/blue-wave-desktop.png);
		background-size: 1500px 735px;
		background-repeat: no-repeat;
		background-position: center bottom;
	}
	#overview-sec + section{
		margin-top: -210px;
		padding-top: 0;
	}
	#overview-sec::before{
		width: 144px;
		height: 144px;
		top: -15px;
		left: calc(50% - 240px);
	}
	#overview-sec::after{
		width: 96px;
		height: 96px;
		right: calc(50% - 555px);
	}
	#products-sec{
		padding-bottom: 132px;
	}
	.products-block{
		margin-left: -28px;
		margin-right: -28px;
	}
	.product-block{
		padding: 0 28px;
		margin-bottom: 45px;
	}
	#products-sec::before{
	    width: 100px;
	    height: 100px;
	    right: calc(50% + 148px);
	    top: 8px;
	}
	#products-sec::after{
	    left: calc(50% + 410px);
	}
	#contact-us-sec::after{
		left: calc(50% - 570px);
	}
}
@media screen and (min-width: 1400px){
	#overview-sec::before{
		left: calc(50% - 270px);
	}
	#overview-sec::after{
		right: calc(50% - 635px);
	}
}
@media screen and (min-width: 1500px){
	.blue-wave #overview-sec{
		background-size: 100% 735px;
	}
}
@media screen and (min-width: 1650px){
	#overview-sec .sec-text p{
		font-size: 18px;
	}
	.product-block__icon{
		width: 149px;
		height: 149px;
	}
	.product-block__title{
		font-size: 20px;
	}
	.product-block__text{
		font-size: 18px;
	}
	.product-block{
		padding-bottom: 50px !important;
	}
}