.module-28 .ry-flex,
.module-services.style-5 .col-xs-12.content,
.module-welcome.style-7 .text-wrapper,
.hp-custom-testimonials .ry-container {
	cursor: auto;
}

/* Video Container */
.video-iframe .ry-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 20px;
	background: #222;
	cursor: pointer;
	width: 100% !important;
	height: 0;
	padding-bottom: 56.25%;
}

/* Thumbnail Background */
.video-iframe .ry-video-thumbnail {
	position: absolute;
	inset: 0;
	background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-5288556c-85b6-4bb7-ae53-20a604062538/Assets/youtube_image.jpg");
	background-size: cover;
	background-position: center;
	transition: transform 0.3s ease;
}

.video-iframe .ry-video-thumbnail:before {
    content: "";
    position: absolute;
    inset: 30px 30px;
    border: 2px solid white;
    border-radius: 50px;
	transform: 0.3s ease;
}

.video-iframe .ry-container:hover .ry-video-thumbnail:before {
	transform: 0.3s ease;
	inset: 40px 55px;
	border-color: #9dbbb7;
}

.video-iframe .ry-container:hover .ry-video-thumbnail {
	transform: scale(1.03);
}

/* Center Play Button */
.video-iframe .ry-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 42px;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
}

.video-iframe .ry-play-button i {
	line-height: 1;
	margin-left: 4px;
}

.video-iframe .ry-play-button:hover {
	background: #9dbbb7;
	color: #fff;
}

/* Popup */
.video-iframe .ry-video-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.85);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-iframe .ry-video-popup.is-active {
	opacity: 1;
	visibility: visible;
}

/* Popup Video */
.video-iframe .ry-popup-content {
	position: relative;
	width: 100%;
	max-width: 1000px;
	transform: scale(0.95);
	transition: transform 0.25s ease;
}

.video-iframe .ry-video-popup.is-active .ry-popup-content {
	transform: scale(1);
}

.video-iframe .ry-iframe-wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.video-iframe .ry-iframe-wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Close Button */
.video-iframe .ry-close-button {
	position: absolute;
    top: -18px;
    right: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 1;
}

.video-iframe .ry-close-button:hover {
	background: #9dbbb7;
	color: #fff;
}

/* Prevent Background Scrolling */
body.ry-popup-open {
	overflow: hidden;
}

/* Mobile */
@media (max-width: 600px) {
	.video-iframe .ry-container {
		border-radius: 12px;
	}

	.video-iframe .ry-play-button {
		width: 58px;
		height: 58px;
		font-size: 34px;
	}

	.video-iframe .ry-video-popup {
		padding: 15px;
	}

	.video-iframe .ry-close-button {
		top: -45px;
		width: 36px;
		height: 36px;
	}
}


.homepage-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
	width: 100%;
	margin: 50px auto;
	max-width: 1280px;
}

.module-19.style2 .ry-headline h2 {
    text-align: center;
}

.module-19.style2 .btn-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Box */
.homepage-services-grid .ry-el-link {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 18px;
	padding: 15px 25px;
	min-width: 0;
	background: rgb(234 238 238 / 50%);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	border: 1px solid #04393c;
	border-radius: 20px;
	transition: all 0.35s ease;
	min-height: 90px;
}

/* Hover Effect */
.homepage-services-grid .ry-el-link:hover {
    background: rgb(157 188 183);
    transform: translateY(-4px);
}

/* Icon Left */
.homepage-services-grid .for-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-services-grid .for-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.homepage-services-grid .ry-el-link:hover .for-icon img {
    transform: scale(1.1);
}

/* Title Right */
.homepage-services-grid .for-title {
    flex: 1;
    min-width: 0;
}

.homepage-services-grid .for-title h5 {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
}

.homepage-services-grid .for-title a {
    color: #3c5454;
    text-decoration: none;
    transition: color 0.35s ease;
	text-transform: uppercase;
}

.homepage-services-grid .ry-el-link:hover .for-title a {
    color: #1d2222;
}

/* Tablet */
@media (max-width: 991px) {
    .homepage-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .homepage-services-grid .ry-el-link {
        padding: 18px;
        gap: 14px;
    }
}

/* Mobile */
@media (max-width: 580px) {
    .homepage-services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .homepage-services-grid .ry-el-link {
        padding: 16px 20px;
    }

    .homepage-services-grid .for-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .homepage-services-grid .for-title h5 {
        font-size: 16px;
    }
}


/*HP - TESTIMONIALS*/

.hp-custom-testimonials .background-section,
.hp-custom-testimonials .background-section img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
	    object-position: right;
}

.hp-custom-testimonials .ry-content {
    width: min(676px, 100%);
    border-radius: 32px;
    /*filter: drop-shadow(0px 16px 43.5px rgba(0,0,0,0.17));*/
    /*background: rgb(255 255 255);*/
    /*backdrop-filter: blur(5px);*/
    /*-webkit-backdrop-filter: blur(5px);*/
    /*background-color: rgb(255 255 255 / 80%);*/
    padding: 85px;
    position: absolute;
    top: 15rem;
	left: 0;
}

.hp-custom-testimonials .each-testi .star-rate {
    display: flex;
}

.hp-custom-testimonials .each-testi .star-rate svg {
    width: 20px;
    fill: #f6ae32;
}


.hp-custom-testimonials .group-testi {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 30px;
}

.hp-custom-testimonials .testimony p {
    width:100%;
    font-size: 20px;
    letter-spacing: 0px;
    line-height: 160%;
    color: #333333;
    font-weight: 300;
	margin: 30px 0;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 5; /* number of lines to show */
	line-clamp: 5; 
	-webkit-box-orient: vertical;
}

.hp-custom-testimonials .group-testi .testi-name p {
    font-size: 23px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #121556;
    font-weight: 500;
    
}

.hp-custom-testimonials .background-section {position: relative;inset: 0;padding-bottom: 60%;}

.hp-custom-testimonials .hp-headline h2 {
    line-height: normal;
}

.hp-custom-testimonials ul.slick-dots {
    padding: 0;
    list-style: none;
    display: flex !important;
    gap: 5px;
}

.hp-custom-testimonials ul.slick-dots li button {
    color: transparent;
    width: 10px;
    height: 10px;
    background: #63656a;
    opacity: .3;
	border: 0;
}
.hp-custom-testimonials ul.slick-dots li.slick-active button {
    width: 30px;
    opacity: 1;
}

.hp-custom-testimonials .testi-name {
    display: flex;
    align-items: center;
}


@media screen and (max-width: 1680px) {
    .hp-custom-testimonials .ry-content {
        top: 6rem;
    }
}

@media screen and (max-width: 1536px) {
    .hp-custom-testimonials .background-section {
        padding-bottom: 60%;
    }
}


@media screen and (max-width: 1366px) {
    .hp-custom-testimonials .background-section {
        padding-bottom: 61.25%;
    }
}

@media screen and (max-width: 1280px) {
    .hp-custom-testimonials .background-section {
        padding-bottom: 62.25%;
    }

    .hp-custom-testimonials .ry-content {
        top: 5rem;
    }
}

@media (min-width:768px) and (max-width:1199px) {
	
    .hp-custom-testimonials .background-section, .hp-custom-testimonials .background-section img {
		object-position: 50% !important;
	}

	.hp-custom-testimonials .ry-content {
		padding: 0 !important;
		max-width: 450px !important;
	}

	div.hp-custom-testimonials .background-section {
		padding-bottom: 70% !important;
	}
}

@media screen and (max-width: 1080px) {
	div.hp-custom-testimonials .background-section {
		padding-bottom: 71.25%;
	}
}

@media screen and (max-width: 991px) {
	div.hp-custom-testimonials .background-section {
		padding-bottom: 82%;
	}
}

@media (max-width: 768px) {
	
	div.hp-custom-testimonials .background-section {
		padding-bottom: 100%;
	}
	
	div.hp-custom-testimonials .background-section,
	div.hp-custom-testimonials .background-section img {
		object-position: 100% !important;
	}
	
	div.hp-custom-testimonials .ry-content {
        background: transparent !important;
        backdrop-filter: none;
    }
	.hp-custom-testimonials .ry-content {
		position: relative;
		top: unset;
		left: unset;
		transform: unset !important;
		background: transparent !important;
		padding: 10vh 0 !important;
	}
	.hp-custom-testimonials .background-section {
		position: absolute !important;
		padding: 0 !important;
		height: 100% !important;
		opacity: .1 !important;
	}
	.hp-custom-testimonials .ry-container {
		display: flex;
		position: relative;
		z-index: 99;
		justify-content: center;
	}
	.hp-custom-testimonials .hp-headline h2 {
		text-align: center;
	}
}

@media screen and (max-width: 680px) {
	div.hp-custom-testimonials .group-testi {
		align-items: center;
		justify-content: center;
		flex-direction: column-reverse;
		gap: 10px;
	}
	
	div.hp-custom-testimonials ul.slick-dots {
		align-items: center;
		justify-content: center;
	}

	div.hp-custom-testimonials .hp-headline h2 {
		text-align: center;
	}
	
	div.hp-custom-testimonials .background-section img {
		        object-position: 100%;
	}
	div.hp-custom-testimonials .ry-content {
		background-color: rgb(255 255 255 / 90%);
		padding: 10%;
	}
	
	div.hp-custom-testimonials .background-section {
		padding-bottom: 120%;
	}
	
	div.hp-custom-testimonials .testimony p {
		width: 100%;
		font-size: clamp(1.125rem, 0.9875rem + 0.6875vw, 1.8125rem);
	}
}

@media screen and (max-width: 480px) {
	div.hp-custom-testimonials .background-section {
		padding-bottom: 600px;
	}

	div.hp-custom-testimonials .ry-content {
		padding-bottom: 5%;
	}
	div.hp-custom-testimonials .background-section,
	div.hp-custom-testimonials .background-section img {
		object-position: 90% !important;
	}
}

@media screen and (max-width: 768px) {
	div.hp-custom-testimonials .testimony p {
		text-align: center;
	}
	.hp-custom-testimonials .group-testi {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.hp-custom-testimonials ul.slick-dots {
		justify-content: center;
		margin-top: 30px;
	}
}
.hp-custom-testimonials {
	margin-top: -2px;
}

.module-19:before {
	background-position: center top;
	opacity: 1;
	z-index: 0;
}


/*END OF HP - TESTIMONIALS*/

[role=button] {
	cursor: auto !important;
}