/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */
/*
.service-style-1 h2 {margin: 10px 0;}
.ry-menu .ry-nav li .dropdown-toggle {padding: 30px 0;}
ul#quick-links li a {display: block;width: 100%;}
#in-services-3 ul li a {margin-left: 0px;margin-top:30px}
*/
[x-cloak] { display: none !important; }
.promotions img { min-width: 22rem; max-width:22rem;}
#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}
.mobile-menu-icon a{display: flex;height: 100%;width: 100%;justify-content: center;align-items: center;}
body.fancybox-active .ry-sticky-menu.fixed {z-index: 9999;}
.testimonials-swiper p,
.testimonials-swiper-2 p{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4
}
.service-hover {
    position: absolute;
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
}

/* Show service-hover when parent with data-target is hovered */
[data-target]:hover .service-hover {
    opacity: 1;
}

/* Apply the overlay effect when parent is hovered */
[data-target]:hover .service-hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1; /* Make sure it's behind the text */
}
.mm-navbar {
	color: #ffffff;
}

/* HP Edits - Started <September 23, 2025> */

/**/
	/*fonts*/

	/*btns*/

/*Modal*/
/* Header */
	/**/
.cta-btn {
    width: 350px;
    background: var(--color-primary-background);
    color: var(--color-secondary-background);
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}

.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-secondary-background);
}

.ry-menu .ry-nav li:hover {
    color: var(--color-secondary-background);
    font-weight: 600;
}
/* Hero */
	/**/
.slider-info {
    min-height: fit-content;
}

.with-gradient:before {
    background-image: linear-gradient(to bottom, white, transparent, #000);
}
/* CTA */
	/**/
/* Welcome */
	/**/
.module-welcome.style-5 .ry-each.image-wrapper {
    border: none;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    object-fit: contain;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo {
    padding-bottom: 70%;
}

.module-welcome.style-5 .ry-container {
    width: 100%;
}
/* Services */
	/**/
#section-hp-services::before {
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
}

.ry-services.style2 .ry-each .photo img {
    z-index: 1;
    height:300PX;
    width: 300PX;
	margin-inline:auto;
    left: 10%;
    top: 5%;
    transition: all .3s;
}

.ry-services.style2 .ry-each .photo:before {
    z-index: 0;
}

.ry-services.style2 .ry-each .each-block:hover .photo img{
 z-index: 0;   
}

.ry-services.style2 .ry-each .photo:after {
    opacity: 0.9;
}
.ry-services.style2 .ry-each .photo:before,
.ry-services.style2 .ry-each .photo::after {
    border-radius: 25px;
}
.ry-services.style2 .ry-each:first-child .each-block:first-child .photo:before,
.ry-services.style2 .ry-each:last-child .each-block:first-child .photo:before{
    background: var(--color-primary-text);
}
.ry-services.style2 .ry-each:first-child .each-block:nth-child(2) .photo:before,
.ry-services.style2 .ry-each:nth-child(2) .each-block:first-child .photo:before,
.ry-services.style2 .ry-each:last-child .each-block:nth-child(2) .photo:before,
.ry-services.style2 .ry-each:first-child .each-block:nth-child(2) .photo:after,
.ry-services.style2 .ry-each:nth-child(2) .each-block:first-child .photo:after,
.ry-services.style2 .ry-each:last-child .each-block:nth-child(2) .photo:after{
    background:  var(--color-primary-background);
}
.ry-services.style2 .ry-each .title div {
    color: black;
}
.ry-services.style2 .ry-each:nth-child(2) .each-block:nth-child(2) .photo:before {
    background: transparent;
}
.ry-services.style2 .ry-each:nth-child(2) .each-block:nth-child(2) .title {
    opacity: 0;
    height: 0;
}
.ry-services.style2 .ry-each .photo:after {
    background: white;
}
.ry-services.style2 .ry-each:nth-child(2) .each-block:nth-child(2) .photo:after {
    background: transparent;
    height: 0;
}
.ry-services.style2 .ry-each:nth-child(2) .each-block:nth-child(2):hover .button-svg {
    opacity: 0;
}
.ry-services.style2 .ry-each .each-block:hover img {
    transform: scale(1.2);
}
.ry-services.style2 .ry-each:nth-child(2) .each-block:nth-child(2) .photo img {
    height: 50%;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: invert(0);
}
/* Meet the Team */
	/**/
.homepage-team-swiper-pagination {
    position: relative;
}
/* Insurance */
	/**/
#hp-insurance-1 .brands-swiper-4 .swiper-wrapper div {
    background: #fafafa;
}
/* Brand */
	/**/
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
.module-testimonials.style-2::before {
    opacity: 0;
}
.module-testimonials.style-2 .swiper-pagination-bullet {background: white;}
#hp-testimonials-5 p {
    color: #374151;
    text-align: center;
}

#hp-testimonials-5 .flex.items-center {
    justify-content: center;
}

.module-testimonials.style-5 .top-circle {
    width: 120px;
    height: 120px;
    font-size: 120px;
	    background-color: var(--color-secondary-background);
}

/* Footer */
	/**/

#ry-footer-3::before {
    opacity: 1;
}

#ry-footer-3::after {
    background-color: var(--color-secondary-background);
}

#ry-footer-3 .footer-contents::before {
    opacity: 0;
}
/*Media Queries*/
	/**/
@media (min-width: 768px) {
    .slider-info-center-bottom {
        bottom: 3%;
    }
}
@media (width < 1080px) {
    #section-hp-services:before, .module-19.style2:before, .ry-services.style2::before {
        opacity: 1;
    }
    .ry-services.style2 .each-block .photo,
    .ry-services.style2 .each-block .photo img{
        border-radius: 0px;
    }
    .ry-services.style2 .each-block .photo img {
        filter:invert(1);
    }
    .ry-services.style2 .each-block .photo:before {
        height: 100%;
        background: var(--color-primary-background);
        border-radius: 25px;
    }
    .ry-services.style2 .each-block:nth-child(even) .photo:before {
        height: 100%;
        background: var(--color-primary-text);
    }
    .ry-services.style2 .each-block .photo img {
        z-index: 2;
        filter: brightness(0);
        height: 70%;
        width: 70%;
        left: 15%;
        top: 10%;
    }
    .ry-services.style2 .each-block .title div {
        color: black;
    }
	.mobile-services .slick-dots button {
		background: white;
	}
}
@media screen and (max-width:1024px){
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
}

/* End - HP Edits*/

div#navigation .bg-primary-background {
    background-color: #f3f4f6 !important;
}

body[data-page-name="contact-us"] div#footer-map {
    display: none;
}

body[data-page-name="contact-us"] div#ry-footer-3 {
	margin-top: 200px;
}

/*--- QA ---*/
.cta-section.style-1 {
    cursor:pointer !important
}
.footer-contents > .grid {
    align-items:start
}

@media(min-width:1080px){
	.ry-services.style2 .ry-each .photo img {
	    z-index: 1;
	    width: 200PX;
		height:250px;
		margin-inline:auto;
	    left: 10%;
	    top: 5%;
	    transition: all .3s;
		object-fit:contain
	}
	.ry-services.style2 .ry-each .title {
		width:100%;
		max-width:180px;
	}
	.ry-services.style2 .ry-each {
		max-width:300px;
		margin-inline:auto;
		width:100% !important;
		margin-inline:0 !important
	}
	.ry-services.style2 .block-count-6 {
	        display:flex;
		justify-content:center;
		gap:30PX;
	    }
	
	.ry-services.style2 .ry-each .photo {
	    position: relative;
	    padding-bottom: 0;
	}
	.ry-services.style2 .ry-each .photo img {
		position:relative;
		inset:unset !important;
		top:-35PX !important;
		transform:unset
	}
	.ry-services.style2 .ry-each:nth-child(2) .each-block:nth-child(2) .photo img {
	    height: auto;
	    max-width: 160px;
		width:100%;
	    inset:unset !important;
	    transform: unset !important;
	    filter: invert(0);
	}
	.ry-services.style2 .ry-each:nth-child(2) .each-block:nth-child(2) .photo {
		height:300PX;
		display:flex;
		align-items:center;
		justify-content:center
	}
	.mobile-services {
		display:none
	}
}
@media (min-width: 1081px) {
    .ry-services.style2 .block-count-6 {
        margin-top: 280px;
    }
	
}
@media(max-width:1340px) {
    .footer-contents  {
    padding-inline:30px
}
}

@media (max-width: 1280px) {
    .footer-contents .group{
        flex-direction: column !important;
    }
    .footer-contents  * {
        text-align:center !important
    }
    .footer-contents .gap-2 {
        justify-content:center;
        align-items:center
    }
    .footer-contents > .grid > div:nth-child(2) .flex{
        flex-direction:column;
        gap:0px;
        margin-top:10px
    }
	.ry-services.style2 .each-block .title{
		width:100%;
		max-width:200px
	}
}
@media(max-width:1080px) {
	.ry-services.style2 .each-block .photo{
    border-radius: 25px !important;;
}
	.ry-services.style2  .block-count-6 {
		margin-top:30PX
	}
}
@media (max-width: 1023px) {
    .footer-contents .group{
        flex-direction: column !important;
    }
	.footer-contents .group:not(:nth-child(1)){
		padding-top:20px
	}
	.footer-contents .group:nth-child(1) {
	}
	.footer-contents .group:nth-child(1) a br:nth-child(1) {
		display:none
	}
    .footer-contents  * {
        text-align:center !important
    }
    .footer-contents .gap-2 {
        justify-content:center;
        align-items:center
    }
    .footer-contents > .grid > div:nth-child(2) .flex{
        flex-direction:re;
        gap:0px;
        margin-top:15px
    }


	.footer-contents > .grid > div:nth-child(2) .flex * {
		font-weight:400;
		font-size:18px;
		line-height:1.4
	}
	.footer-contents {
		padding-inline:10px !important;
	}
}
@media (max-width: 500px) {
	.module-testimonials  .p-10 {
		padding-inline:0;
		padding-bottom:0
	}
	.module-testimonials .swiper-button-next, 
	.module-testimonials .swiper-button-prev {
		display: flex;
	}
	.module-testimonials .text-base p {
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 5;
		line-clamp: 5; 
		-webkit-box-orient: vertical;

	}
	.module-testimonials .py-6 {
		padding:10px 0 0 
	}
	#hp-testimonials-5 .flex.items-center {
		padding-block:40px
	}
	#hp-testimonials-5  .order-3 {
		padding-top:00px
	}
	#hp-testimonials-5  .order-2 {
		margin-block:20px
	}
	#hp-testimonials-5  .order-3 .space-x-2,
	#hp-testimonials-5  .order-1 .space-x-2{
		padding-top:0
	}
	div#footer-map {
		height:500PX !important
	}
}

@media(max-width:390px){
		.footer-contents > .grid > div:nth-child(2) {
		padding-inline:65px
	}
}