.module-services.style-12 {
	padding: 80 0 80px;
}
.module-services.style-12 .ry-container{
	max-width: 1600px;
	width:90%;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.module-services.style-12 .section-background,
.module-services.style-12 .section-background img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none;
}
.module-services.style-12:before {
    content: "";
    position: absolute;
    inset: 0;
    height: 50%;
    top: unset;
    background: linear-gradient(to bottom, #77a5d9, #0058af);
}
.module-services.style-12 .section-headline h2 {
	font-size: 58px;
	text-transform: uppercase;
	letter-spacing: initial;
	margin-bottom: 10px;
	color: #5b4eaa;
	text-align: center;
}

.module-services.style-12 .section-headline h2 .span-1 {
	display: block;
	font-size: 24px;
	letter-spacing: 3px;
	color: #333333;
	margin-top: 30px;
	padding-top: 30px;
	position: relative;
}

.module-services.style-12 .section-headline {
	margin-bottom: 42px;
}

.module-services.style-12 .content .ry-flex .slick-track {
	display: flex;
	/* gap: 18px; */
	padding: 50px 0 50px;
}

.module-services.style-12 .content .ry-flex .ry-each .photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    background: transparent;
    transition: .3s;
	margin-top: -80px;
}

.module-services.style-12 .content .ry-flex .ry-each .photo img {
	-o-object-fit: cover;
	object-fit: cover;
	transition: .3s;
	width: 100%;
	height: 100%;
	border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.module-services.style-12 .content .ry-flex .ry-each {
	-ms-flex-preferred-size: unset !important;
	flex-basis: unset !important;
}

.module-services.style-12 .content .ry-flex .ry-each .services-details h4 {
	font-size: 22px;
	text-align: center;
	margin-bottom: 25px;
	clear: both;
	min-height: 50px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	color: #333;
}

.module-services.style-12
.content
.ry-flex
.ry-each:nth-child(even)
.services-details
p,
.module-services.style-12
.content
.ry-flex
.ry-each:nth-child(even)
.services-details
h4 {
	/* color: #ffffff; */
}
.module-services.style-12
.content
.ry-flex
.ry-each:nth-child(even)
.photo
img {
	/*filter: invert(1);*/
}

.module-services.style-12 .content .ry-flex .ry-each .services-details p {
	font-size: 18px;
	line-height: 1.5;
	text-align: center;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 5; /* number of lines to show */
	line-clamp: 5; 
	-webkit-box-orient: vertical;
	transition: .2s;
	    min-height: 140px;
}

.module-services.style-12 .content .ry-flex .ry-each:hover .services-details p {
    color: #fff;
    transition: .2s;
}

.module-services.style-12 .content .ry-flex .ry-each .icons {
	width: max-content;
	height: 45px;
	background: #5b4eaa;
	border-radius: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	position: absolute;
	left: 50%;
	bottom: 40px;
	padding-right: 11px;
	transform: translateX(-50%);
}

.module-services.style-12 .content .ry-flex .ry-each .icons:before {
    content: "read more";
    display: inline-block;
    color: #ffffff;
    font-size: 16px;
    padding: 0px 9px 0 20px;
    text-transform: capitalize;
	transition: all .3s;
}

.module-services.style-12 .content .ry-flex .ry-each .icons svg {fill: #ffffff;}

.module-services.style-12 .content .ry-flex .ry-each {
	padding: 28px 2vw clamp(120px,9.375vw,100px);
	background: #F8F8F8;
	/* border-radius: 20px; */
	height: inherit;
}

.module-services.style-12 .content .ry-flex .ry-each:nth-child(odd) {
	background: #fff;
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
	-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
}


.module-services.style-12 .content .ry-flex .ry-each:hover .icons svg {
	fill: #FFFFFF;
}

.module-services.style-12 .content .ry-flex .ry-each {
	transition: .3s;
}

.module-services.style-12 .content .ry-flex .ry-each:hover {
    background: rgb(0 0 0 / 100%) !important;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.1);
    transition: .3s;
}

.module-services.style-12 .content .ry-flex .ry-each .icons {
	transition: .3s;
}

.module-services.style-12 .content .ry-flex .ry-each:hover .icons {
    transition: .3s;
    background: #493e8b;
}

.module-services.style-12 .content .ry-flex .ry-each:hover .icons::before {
	color: #FFFFFF;
}

.module-services.style-12 .content .ry-flex .ry-each .services-details h4 {
    transition: .3s;
}

.module-services.style-12 .content .ry-flex .ry-each:hover .services-details h4 {
    color: #fff;
    transition: .3s;
}

.module-services.style-12 .section-headline h2 .span-1:before {
	position: absolute;
	left: 50%;
	top: 0;
	width: 200px;
	height: 1px;
	background: rgba(0,0,0,0.1);
	content: "";
	-webkit-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}

.module-services.style-12 .content .ry-flex .ry-each .link,
.module-services.style-12 .content .ry-flex .ry-each .link a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
	opacity: 0;
}

.module-services.style-12 .slick-arrow {
	height: 50px;
	width: 50px;
	background: #493e8b;
	border-radius:8px;
	display: flex !important;
	justify-content:center;
	align-items:center;
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	display: block;
	padding: 0;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	cursor: pointer;
	border: none;
	outline: none;
	z-index: 9;
}

.module-services.style-12 .slick-arrow.slick-prev:before,
.module-services.style-12 .slick-arrow.slick-next:before {
	display: block;
	content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23fff" class="bi bi-chevron-left" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/%3E%3C/svg%3E');
	height: 25px;
	width: 25px;
}

.module-services.style-12 .slick-arrow.slick-next:before {
	content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23fff" class="bi bi-chevron-right" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/%3E%3C/svg%3E');
}

.module-services.style-12 .slick-arrow.slick-next {
	/* left: calc(50% + 35px); */
}

.module-services.style-12 .slick-arrow.slick-prev {
	/* left: calc(50% - 35px); */
}

.module-services.style-12 .slick-arrow:hover {
	opacity: 0.8;
}

/** PLACE YOUR MOBILE AND UP CSS HERE **/
@media (max-width: 1680px) {
	.module-services.style-12 .content .ry-flex {
		gap: 30px;
	}

	.module-services.style-12 .content .ry-flex .ry-each {
		/* max-width: calc(25% - 22.5px) !important; */
	}
}
@media (max-width: 1280px) {
	.module-services.style-12 .content .ry-flex .ry-each {
		/* max-width: calc(33.33% - 22.5px) !important; */
	}
}
@media (max-width: 1080px) {
	/** PLACE YOUR TABLET AND UP CSS HERE **/
	.module-services.style-12 {
		padding: 100px 0 150px;
	}
	.module-services.style-12 .section-headline h2 {
		font-size: 50px;
	}
	.module-services.style-12 .content .ry-flex .ry-each .services-details h4 {
		font-size: 20px;
		min-height: 40px;
	}
	.module-services.style-12 .section-headline h2 .span-1 {
		font-size: 20px;
	}
	.module-services.style-12 .content .ry-flex .ry-each .services-details p {
		font-size: 16px;
	}
	.module-services.style-12 .content .ry-flex .ry-each {
		/* max-width: calc(50% - 22.5px) !important; */
	}
	.module-services.style-12 .content .ry-flex .ry-each:nth-child(odd) {
		/* background: #ffe7d8; */
		-webkit-box-shadow: unset;
		box-shadow: unset;
	}


}
@media (max-width: 768px) {
	.module-services.style-12 .content .ry-flex {
		gap: 15px;
	}
	.module-services.style-12 .content .ry-flex .ry-each {
		/* max-width: calc(50% - 7.5px) !important; */
	}
	.module-services.style-12 .content .ry-flex .ry-each {
		padding-bottom: 100px;
	}
}
@media (max-width: 620px) {
	.module-services.style-12 .content .ry-flex {
		row-gap: 15px;
		-webkit-column-gap: 0;
		-moz-column-gap: 0;
		column-gap: 0;
	}

	.module-services.style-12 .content .ry-flex .ry-each {
		max-width: 100% !important;
		padding-left: 20px;
		padding-right: 20px;
	}

	.module-services.style-12 .content .ry-flex .ry-each .services-details h4 {
		min-height: unset;
	}


}
@media (max-width: 480px) {
	/** PLACE YOUR LAPTOP AND UP CSS HERE **/
	.module-services.style-12 .section-headline h2 {
		font-size: 42px;
	}
}

@media (min-width: 1200px) {
	/** PLACE YOUR DESKTOP AND UP CSS HERE **/
}



.module-services.style-12 .slick-prev:hover:before,
.module-services.style-12 .slick-prev:focus:before,
.module-services.style-12 .slick-next:hover:before,
.module-services.style-12 .slick-next:focus:before
{
	opacity: 1;
}
.module-services.style-12 .slick-prev.slick-disabled:before,
.module-services.style-12 .slick-next.slick-disabled:before
{
	opacity: .25;
}

.module-services.style-12 .slick-prev:before,
.module-services.style-12 .slick-next:before
{
	font-size: 20px;
	line-height: 1;
	opacity: 1;
	color: #790000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.module-services.style-12 .slick-prev {
	left: -25px;
}


.module-services.style-12 .slick-next {
	right: -25px;
}

.module-services.style-12 .content .ry-flex .ry-each .services-details {
    position: relative;
	margin-top: 30px;
}
.module-services.style-12 .content .ry-flex .ry-each .photo, .module-services.style-12 .content .ry-flex .ry-each .services-details, .module-services.style-12 .content .ry-flex .ry-each .icons {
    z-index: 9;
}

.module-services.style-12 .content .ry-flex .ry-each .link {
	z-index: 99;
}

.module-services.style-12 .content .ry-flex .ry-each {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.module-services.style-12 .content .ry-flex .ry-each .services-details h4 {
	font-weight: 600 !important;
}

@media (max-width: 1080px) {
	.module-services.style-12 .ry-container {
		width: 85%;
		gap: 50px;
	}
	.module-services.style-12 .content .ry-flex .ry-each .services-details p {
		height: 100%;
	}
}

@media (min-width: 1081px) {
	.module-services.style-12 .content .ry-flex {
		flex-wrap: wrap;
		gap: 30px;
		row-gap: 110px;
		padding-top: 80px;
	}
	.module-services.style-12:before {
		height: 70%;
	}
	.module-services.style-12 .ry-container {
		max-width: 1340px;
		gap: 60px;
	}
	.module-services.style-12 .content .ry-flex .ry-each {
		width: calc(33.33% - 20px);
	}
	.module-services.style-12 {
		padding: 100px 0 40px;
	}
}

@media (min-width: 1921px) {
	.module-services.style-12 .ry-container {
		max-width: 1600px;
	}
}