.ry-services.style1 .ry-flex {
	flex-wrap: wrap;
}
.ry-services.style1 .ry-flex .ry-each {
	width: 50%;
}
.ry-services.style1 .ry-flex .ry-each .photo {
	position: relative;
	padding-bottom: 56.25%;
}
.ry-services.style1 .ry-flex .ry-each .photo:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #1d6fa145;
	z-index: 5;
}
.ry-services.style1 .ry-flex .ry-each .photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ry-services.style1 .ry-flex .ry-each .title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9;
}

.ry-services.style2 * .title:after {
    border-radius: 100%;
    content: '';
    font-family:fontawesome;
    position:absolute;
    z-index: 1;
    width: 20px;
    height: 20px;
    right: 24px;
    top: 11px;
    color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E");
    filter: brightness(0) invert(1);
    background-repeat: no-repeat;
    background-size: contain !important;
    transform: rotate(319deg);
    margin: auto;
}

.ry-services.style2 * .title:before {
    background: #1c3a5f !important;
    width: 50px;
    height: 50px;
    position: relative;
    content: '';
    right: 4%;
    top: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    float: right;
}

.ry-services.style2 * .title:before, .ry-services.style2 * .title:after {
    opacity: 0;
}

.mobile-services .slick-track .each-block:hover .title:after, .mobile-services .slick-track .each-block:hover .title:before {
    opacity: 1;
}
.ry-services.style1 .ry-flex .ry-each .title div {
	padding: 40px 0;
	font-size: 26px;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 2px;
	font-weight: 300;
	line-height: 1.3;
}

.ry-services.style1 .ry-flex .ry-each .link, 
.ry-services.style1 .ry-flex .ry-each .link a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	opacity: 0;
}
.ry-services.style1 .ry-flex .ry-each .title div:before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 320px;
	height: 100%;
	border: 1px solid #1d6fa1;
	transform: translate(-50%, 0);
	border-left: 0;
	border-right: 0;
	z-index: 9;
}
.ry-services.style1 .ry-flex .ry-each .button-svg svg {
	width: 20px;
	fill: #fff;
}
.ry-services.style1 .ry-flex .ry-each .button-svg {
	position: absolute;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid #fff;
	z-index: 9;
	top: calc(50% + 80px);
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
}

.ry-services.style1 .ry-flex .ry-each::before,
.ry-services.style1 .ry-flex .ry-each::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transition: all .7s ease;
	border-radius: 0;
	z-index: 9;
	opacity: 0;
}
.ry-services.style1 .ry-flex .ry-each::after {
	box-shadow: inset 0 0 0 1px #1d6fa1;
}
.ry-services.style1 .ry-flex .ry-each::before {
	border-radius: 0;
}
.ry-services.style1 .ry-flex .ry-each:hover .photo:before,
.ry-services.style1 .ry-flex .ry-each:hover .title div:before {
	opacity: 0;
}
.ry-services.style1 .ry-flex .ry-each:hover::before {
	box-shadow: inset 0 400px 0 0 #1d6fa1, inset 0 -400px 0 0 #1d6fa1;
	opacity: .7;
}
.ry-services.style1 .ry-flex .ry-each:hover .button-svg {
	opacity: 1;
	transition: .2s;
}
@media (max-width: 1680px) {
	.ry-services.style1 .ry-flex .ry-each .title div {
		font-size: 20px;
		padding: 25px 0;
		letter-spacing: 1px;
	}
}
@media (max-width: 1366px) {
	.ry-services.style1 .ry-flex .ry-each .photo {
		position: relative;
		padding-bottom: 75%;
	}
}
@media (max-width: 991px) {
	.ry-services.style1 .ry-flex .ry-each .title div:before {
		width: 240px;
	}
}
@media (max-width: 768px) {
	.ry-services.style1 .ry-flex .ry-each .title div {
		font-size: 18px;
	}
	
	div.mobile-services .slick-track .each-block:nth-child(4) .title>div, div.mobile-services .slick-track .each-block:nth-child(9) .title>div {
		color: #fff !important;
	}

	div.mobile-services .slick-track .each-block:nth-child(5) .title>div {
		color: #333 !important;
	}
}
@media (max-width: 620px) {
	.ry-services.style1 .ry-flex .ry-each {
		width: 100%;
	}
	.ry-services.style1 .ry-flex .ry-each .photo {
		position: relative;
		padding-bottom: 56.25%;
	}
}

/* END STYLE 1 */
.ry-services.style2  * {
    overflow: visible;
}
.ry-services.style2 .background-section, 
.ry-services.style2 .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ry-services.style2 .background-section img {
	display:none;
}


.ry-services.style2 .background-section {
    opacity: 0;
}

.ry-services.style2:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: ;
}
.ry-services.style2 {
	padding: 7em 0 3em;
}
.ry-services.style2 .section-headline {
	margin-bottom: 80px;
}
.ry-services.style2 .section-headline .span-1 {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 5px;
	display: block;
}
.ry-services.style2 .section-headline h2 {
	font-size: 230%;
	text-transform: uppercase;
}
.ry-services.style2 .ry-content .content {
}
.ry-services.style2 .ry-content {
	display: flex;
	justify-content: center;
	/* margin-left: -9em; */
	padding-bottom: 0;
}
.ry-services.style2 .block-count-7,
.ry-services.style2 .block-count-6,
.ry-services.style2 .block-count-5,
.ry-services.style2 .block-count-4,
.ry-services.style2 .block-count-3 {
	margin-left: -30px;
	width: calc(100% + 30px);
}
.ry-services.style2 .block-count-7 .ry-each,
.ry-services.style2 .block-count-6 .ry-each,
.ry-services.style2 .block-count-5 .ry-each,
.ry-services.style2 .block-count-4 .ry-each,
.ry-services.style2 .block-count-3 .ry-each {
	margin-left: 30px;
	width: calc(33.33% - 30px);
	display: flex;
}
.ry-services.style2 .block-count-7 .ry-each .block-group,
.ry-services.style2 .block-count-6 .ry-each .block-group, 
.ry-services.style2 .block-count-5 .ry-each .block-group,
.ry-services.style2 .block-count-4 .ry-each .block-group,
.ry-services.style2 .block-count-3 .ry-each .block-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.ry-services.style2 .block-count-7 .ry-each .each-block,
.ry-services.style2 .block-count-6 .ry-each .each-block,
.ry-services.style2 .block-count-5 .ry-each .each-block,
.ry-services.style2 .block-count-4 .ry-each .each-block,
.ry-services.style2 .block-count-3 .ry-each .each-block {
	margin-bottom: 30px;
}
.ry-services.style2 .ry-each .photo {
	position: relative;
	padding-bottom: 100%;
}
.ry-services.style2 .ry-each .photo:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 150px;
	z-index: 2;
	background: linear-gradient(to bottom, #0000, #000000);
}
.ry-services.style2 .ry-each .photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ry-services.style2 .ry-each .title {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 3;
	transition: .4s;
}
.ry-services.style2 .ry-each .title div {
	font-size: 20px;
	color: #fff;
}
.ry-services.style2 .ry-each .button-svg {
	width: 45px;
	height: 45px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: calc(50% + 45px);
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
}
.ry-services.style2 .ry-each .button-svg svg {
	width: 20px;
	fill: #000;
}
.ry-services.style2 .ry-each .link, 
.ry-services.style2 .ry-each .link a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
	opacity: 0;
}

.ry-services.style2 .ry-each .photo:after {
	content: "";
	height: 0;
	width: 100%;
	background: #1d6fa1;
	position: absolute;
	bottom: 0;
	transition: .4s;
	opacity: .7;
}
.ry-services.style2 .ry-each .each-block:hover .photo:after {
	height: 100%;
}

.ry-services.style2 .ry-each .each-block:hover .title {
	bottom: 50%;
	transition: .4s;
}
.ry-services.style2 .ry-each .each-block:hover .button-svg {
	opacity: 1;
	transition: 1.2s;
}
.ry-services.style2 .button-wrapper {
	clear: both;
	padding-top: 60px;
	display: none;
}
.ry-services.style2 .ry-btn {
	max-width: max-content;
	padding-left: 30px !important;
	padding-right: 30px !important;
	margin: 0 auto;
	color: #FFFFFF;
	background-color: #1d6fa1;
}


@media (min-width: 1081px) {
	/* COUNT 6 */
	.ry-services.style2 .block-count-6 {
		margin-top: 20%;
	}
	.ry-services.style2 .block-count-6 .ry-each:nth-child(2) {
		margin-top: -33.33%;
	}
	.ry-services.style2 .block-count-6 ~ .button-wrapper {
		position: relative;
		top: -17%;
	}
	/* COUNT 6 */
	
	/* COUNT 5 */
	.ry-services.style2 .block-count-5 .ry-each {
		align-items: flex-start;
	}
	.ry-services.style2 .block-count-5 .ry-each:nth-child(1) .each-block:nth-child(2) {
		margin-right: calc(-100% - 30px);
	}
	.ry-services.style2 .block-count-5 .ry-each:nth-child(3) .each-block:nth-child(2) {
		margin-left: calc(-100% - 30px);
	}
	/* COUNT 5 */
}
@media (min-width: 1200px) {

	.ry-services.style2 .block-count-4 {
		justify-content: center;
		margin-left: -50px;
		width: calc(100% + 50px);
	}
	.ry-services.style2 .block-count-4 .ry-each {
		margin-left: 50px;
		width: calc(33.33% - 50px);
		display: flex;
	}
	.ry-services.style2 .block-count-4 .ry-each .each-block {
		margin-bottom: 50px;
	}
	.ry-services.style2 .block-count-4 ~ .button-wrapper {
		padding-top: 30px;
	}
}
@media (max-width: 1199px) {
	.ry-services.style2 .block-count-7,
	.ry-services.style2 .block-count-6,
	.ry-services.style2 .block-count-5,
	.ry-services.style2 .block-count-4,
	.ry-services.style2 .block-count-3 {
		margin-left: -15px;
		width: calc(100% + 15px);
	}
	.ry-services.style2 .block-count-7 .ry-each,
	.ry-services.style2 .block-count-6 .ry-each,
	.ry-services.style2 .block-count-5 .ry-each,
	.ry-services.style2 .block-count-4 .ry-each,
	.ry-services.style2 .block-count-3 .ry-each {
		margin-left: 15px;
		width: calc(33.33% - 15px);
	}
	.ry-services.style2 .block-count-7 .ry-each .each-block,
	.ry-services.style2 .block-count-6 .ry-each .each-block,
	.ry-services.style2 .block-count-5 .ry-each .each-block,
	.ry-services.style2 .block-count-4 .ry-each .each-block,
	.ry-services.style2 .block-count-3 .ry-each .each-block {
		margin-bottom: 15px;
	}
}
@media (min-width: 1081px) {
	
	.ry-services.style2 .block-count-5 .ry-each:nth-child(2) .each-block:nth-child(2) {
		margin-right: calc(-100% - 30px);
	}
}

@media (max-width: 1080px) {
	.ry-services.style2 {
		padding: 3em 0 !important;
	}

	.mobile-services .slick-track .each-block:hover:after {
    opacity: 0 !important;
	}
	
	.mobile-services .slick-track .each-block:hover .title {
		/* left: 1em !important; */
	}

	
	.ry-services.style2 .ry-flex {
		display: none;
	}
	.ry-services.style2 .each-block .photo {
		position: relative;
		padding-bottom: 0;
	}
	.ry-services.style2 .each-block .photo:before {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 150px;
		z-index: 2;
		/* background: linear-gradient(to bottom, #0000, #000000); */
	}
	.ry-services.style2 .each-block .photo img {
		position: static;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.ry-services.style2 .each-block .title {
		/* position: absolute; */
		/* left: 50%; */
		/* transform: translate(-50%, 0); */
		/* z-index: 3; */
		/* transition: .4s; */
		/* width: 100%; */
		/* top: 11% !important; */
	}
	.ry-services.style2 .each-block .title div {
		font-size: 20px;
	}
	.ry-services.style2 .each-block .link, 
	.ry-services.style2 .each-block .link a {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		
	}
	.ry-services.style2 .each-block .button-svg {
		display: none;
	}
	div.mobile-services .slick-track .each-block {
		margin: 0 10px !important;
	}
	.mobile-services .slick-list {
		/* margin-left: -25px; */
	}
	body div.ry-services.style2 * ul.slick-dots {
		margin-top: 3em;
		padding-left: 0;
		list-style: none;
		display: flex !important;
		justify-content: center;
		align-items: center;
		display: flex !important;
	}
	.mobile-services .slick-dots li {
		margin: 0 3px;
		height: auto;
		line-height: initial;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.mobile-services .slick-dots li:not(.slick-active) {
		opacity: .5;
	}
	.mobile-services .slick-dots button {
		width: 12px;
		height: 12px;
		text-indent: -9999999px;
		background: #1d6fa1;
		border: unset;
		box-shadow: unset;
		border-radius: 50%;
	}
	.mobile-services .slick-arrow {
		display: none !important;
	}

	.ry-services.style2 .ry-container {
		margin: 0em auto !important;
		max-width: 90% !important;
	}

	.mobile-services {
		margin-top: 4em !important;
	}



	div.mobile-services .slick-track .each-block:nth-child(4) .title>div, div.mobile-services .slick-track .each-block:nth-child(9) .title>div {
		color: #333;
	}

	div.mobile-services .slick-track .each-block:nth-child(5) .title>div {
		color: #333 !important;
	}

	div.mobile-services .slick-track .each-block:nth-child(5) .title>div {
		color: #fff;
	}

	.mobile-services .slick-track .each-block:nth-child(9) .title>div {
		color: #333 !important;
	}

	.mobile-services .slick-track .each-block:nth-child(10) .title>div {
		color: #fff !important;
	}
}


@media (max-width: 992px) {.ry-services.style1 .ry-flex{flex-direction:column;}
	.ry-services.style1 .ry-flex .ry-each-col{width: 100%;}
	.ry-services.style1 .ry-flex .ry-each-col.ry-each-col-2{display:flex;width:100%;}
	.ry-services.style1 .ry-flex .ry-each-col.ry-each-col-2 > .ry-each .photo{padding: unset;padding-bottom: 56.25%;}
	.ry-services.style1 .ry-flex .ry-each-col.ry-each-col-2 .title {top: 0;left: 15%;}}


.ry-services.style2 .ry-each .each-block {
    overflow: hidden;
}

.ry-services.style2 .ry-each .photo:before {
    height: 100%;
    background: linear-gradient(to bottom, transparent, #00000099);
}
.ry-services.style2 .ry-each .each-block:hover .photo:before {
    opacity: 0;
    transition: .3s;
}

.mobile-services .slick-track .each-block:before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 3px;
    background: linear-gradient(46deg, #1d6fa1 0%, #e9e9e9 100%);
    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    transform:scale(0.9);
    transition:all ease 0.3s;
}

.mobile-services .slick-track .each-block:before {
    transform:scale(0);
}




@media (min-width:1200px) {
	.mobile-services .slick-track .each-block:hover {
		transform: scale(1.2);
		margin-top: 5em !important;
		z-index: 1;
	}
}



@media (max-width:1360px) {
	.ry-services.style2 * .title {
		width: 100% !important;
		white-space: nowrap;
	}

	.ry-services.style2 * .title > div {
		font-size: 18px !important;
	}
}


@media (min-width:1081px) {
	
	.mobile-services .slick-track .each-block:hover:before {
		 transform:scale(0.9);
	}

	.mobile-services .slick-track .each-block:hover .title {
		bottom: 15%;
		top: initial;
		/* left: 4%; */
	}
}

@media (max-width:1080px) {
	
	.mobile-services .slick-track .each-block:hover .title {
	}

	.mobile-services .slick-track .each-block:before {
		display: none !important;
	}

	.serv-btn-svg {
		display: none !important;
	}

	a.serv-learn-more-btn {
		display: none !important;
	}

	.mobile-services .slick-track .each-block:hover a.serv-learn-more-btn svg {
		display: none !important;
	}

	.ry-services.style2 * .title:before {
		display: none;
	}

	.ry-services.style2 * .title:before, .ry-services.style2 * .title:after {
		display: none;
	}
}


@media (max-width:1080px) and (min-width:769px) {
	div.mobile-services .slick-track .each-block:nth-child(5) .title>div {
		color: #fff !important;
	}
}


@media (max-width:700px) {
	div.mobile-services .slick-track .each-block {
		        margin: 0 20px !important;
	}
}
