/* 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,
.module-testimonials .mt-3.sm\:mt-6.text-base.md\:text-xl p {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 5
}
.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;
}

.ry-photo img {
    max-width: 600px;
    margin: 0 auto;
}

.sticky-icons ul {
    padding: 0;
}
.sticky-icons ul li {
    list-style: unset;
}
/* 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;
}

.homepage-swiper h2 {
	text-shadow: 3px 3px 3px rgb(0 0 0 / 40%);
	letter-spacing: 4px;
	font-size: clamp(1.625rem, 0.95rem + 3.375vw, 5rem);
	line-height: 120%;
}

#ry-pg-body :is(.navigation-3) {
    position: relative !important;
}

.mm-navbar__title > span {
    color: #fff;
}

@media (min-width: 1024px) {
	.navigation-3.fixed > .block.lg\:absolute.inset-0 {
		position: relative;
	}
	.ry-menu .ry-nav li.primary {
		margin-top: 0px;
	}
}

@media (max-width: 1440px) {
	div#navigation-style-4.container {
		max-width: 1280px;
	}
}

@media (max-width:1300px) {
	.module-testimonials.style-2 .custom-review {
		justify-content: center;
	}
}



div#navigation-style-4 {
    max-width: 1600px;
    width: 95%;
    padding: 1em 0 !important;
}

body#ry-pg-body div#navigation {
    position: static;
}

.module-testimonials h6, .module-testimonials p, .module-testimonials h2 {
    text-align: center !important;
}

img.rev-icon {
    max-width: 70px;
    height: auto;
    width:100%;
}

#navigation-style-4  .max-w-\[240px\]{
    max-width: 340px;
}

@media (max-width: 1080px) { 
	.ry-menu .ry-nav {
		font-size: 14px !important;
	}
	
	div.module-testimonials h6, .module-testimonials p, .module-testimonials h2 {
		text-align: center !important;
	}
	
	div#team-inner-block {
		padding: 2em 1em;
	}

	div#team-inner-block img {
		max-width: 220px;
	}

	div#team-inner-block {
		flex-direction: column;
	}

	div#team-inner-block .flex {
		padding: 0 !important;
		background: transparent;
		width: 100%;
	}

}

@media (max-width: 1200px) { 
	div#navigation-style-4 {
		max-width: 90%;
	}
	.ry-menu .ry-nav {
		gap: 20px !important;
	}
	div#navigation-style-4 .cursor-pointer img {
		max-width: 240px !important;
	}
}

@media (max-width:991px) {

	.main-title h2 {
		line-height: 1.2;
		font-size: 30px !important;
	}

	.sub-title h4 {
		font-size: 20px !important;
	}
	
	div#section-hp-services .grid h4 {
		font-size: 23px;
		line-height: 1.3;
	}
	
	div#footer-map {
		height: 400px !important;
	}
	
	div#rev-flex h3 {
		font-size: 22px !important;
	}
}

@media (max-width:768px) {
	
	img#hp-rev-image {
		height: auto !important;
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
	}

	div#hp-rev-image-block {
		width: 100% !important;
	}

	div#hp-rev-image-flex {
		display: block !important;
		border-radius: 20px;
	}

	div#rev-flex {
		width: 100%;
	}
}

@media (max-width:767px) {
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}

	.homepage-swiper .slider-info {
		max-width: 100%;
		text-align: center;
		position:static !important;
		padding-inline:10px
	}

	.homepage-swiper .slider-info .mb-4 {
		margin-bottom:0 !important;
	}

	.homepage-swiper .homepage-swiper {
		margin-top: 0em;
	}

	.homepage-swiper .swiper-slide {
		padding-top:6em
	}
	
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
	.homepage-swiper .slider-info {
		padding-bottom: 50px;
	}
}

@media (max-width: 500px) {
	
   .snap-mobile-menu img { 
		max-height: 55px;
	}
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}
}

.homepage-swiper .swiper-slide img {
	object-position: center 0%;
}

@media (max-width: 1023px) {
	.slider-info {
		width: 100% !important;
		max-width: 100% !important;
	}
	.slider-info {
		width: 100%;
		max-width: 100%;
	}
	#navigation-style-3,
	.navigation-3 .hidden.lg\:flex,
	.homepage-video-slider::before {
		display: none !important;
	}
	.homepage-video-slider {
		padding-top: 100px;
	}
}

@media (min-width: 1024px) {
	.homepage-video-slider {
		max-height: 100vh;
		overflow: hidden;
	}
	.homepage-video-slider::before {
		background: linear-gradient(to bottom, #00000099 14%, transparent, transparent);
        opacity: 1;
        height: 70%;
	}
}

@media (max-width: 1200px) { 
	.cta-btn.ry-btn-primary .flex {
		display: none;
	}
}


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

#ry-footer ul {
	line-height: 2;
}

.slider-info-center-bottom {
	max-width: 100% !important;
}

#hp-brands-3 .swiper-pagination {
    position: relative;
    margin-top: 50px;
}


@media(max-width:1680px) {
    #navigation-style-4 .flex.flex-col {
        flex-direction:column;
        justify-content:center;
        align-items:end;
        gap: 30px 0;
    }
}

/*--- HP SLIDER UPDATE ---*/


#hp-slider .slider-info {
    bottom:20px;
    max-width: 980px !important;
    width:100%
}
@media(max-width:1080px) {
	#hp-slider .slider-info {
    max-width: 800px !important;
    width:100%
}
}
#hp-slider .slider-info h1{
    font-size: clamp(2.5rem, 1.5441rem + 3.9216vw, 6.25rem);
    font-weight:400;
    line-height:1.1 !important
}

#hp-slider .slider-info h1 span {
    font-size: clamp(1.5rem, 1.4573rem + 0.2439vw, 1.75rem);
    display:block;
    width:fit-content;
    margin-inline:auto
}


@media(min-width:767px) {
	.homepage-swiper .swiper-slide .with-gradient::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 35%; 
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.65) 0%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0) 100%   
		);
	}

	.homepage-swiper .swiper-slide {
		position: relative;
	}

	.homepage-swiper .swiper-slide img {
		display: block;
		width: 100%;
		height: auto;
	}
}

@media(max-width:991px) {
    #hp-slider .slider-info h1{
        font-size: clamp(2.1875rem, 1.7819rem + 1.6639vw, 2.8125rem);
    }
    #hp-slider .slider-info h1 span {
        margin-top:5px
    }
}

.ry-menu .ry-nav {
    margin-top: 8px;
}

.mm-navbar {
	color: #ffffff;
}

.link, a.link {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: transparent !important;
}


div#contents ul.pagination li {
    list-style: none !important;
}

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

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

#ry-video-slider {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

#ry-video-slider iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.module-welcome.style-5 .ry-text .ry-btn {
	width: auto;
}

#ry-footer-3::after {
	background: #252525;
}

#ry-footer a:hover {
    color:var(--color-secondary-background)
}


div#navigation-style-4 .ry-nav {
	flex-wrap:nowrap
}
#ry-footer ul li span {
	text-wrap:nowrap
}
#ry-footer .lg\:col-span-3:last-child span:first-child {
	min-width:110px;
	display:block
}

#ry-footer ul li span:nth-child(2) {
 min-width:150px;
	display:block
}

@media (max-width: 1480px) {
	div#navigation-style-4 .logo {
		margin-top: -65px;
		position:absolute;
		max-width: 280px !important;
	}
}

@media (max-width: 1080px) {
	div#navigation-style-4 .logo {
		position:relative
	}
}


@media (max-width: 1080px) {
		
	#navigation-style-4{
		display:none
	}
	.snap-mobile-menu {
		display:flex !important
	}
	.snap-mobile-menu .snap-mobile-menu {
		padding-inline:0;
		gap:30px
	}
}
	
@media (max-width: 1023px) {
	.homepage-team-swiper-2:after {
		display:block;
		background:#ffffffd9;
		content:"";
		width:100%;
		height:100%;
		position:absolute;
		background-size:cover;
		top:0;
		left:0
	}
}


.testimonials-swiper-4 .swiper-wrapper .text-base {
   overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 8;
           line-clamp: 8; 
   -webkit-box-orient: vertical;
}


@media(max-width:780px) {
    .module-testimonials #rev-block .p-4{
       padding:0
    }
}
@media(max-width:768px) {
    .module-welcome.style-5 {
    padding-bottom: 80px;
}
    .main-title h3 {
        font-size:30px !important
    }
}
	
.mm-menu a, .mm-menu a:active, .mm-menu a:hover, .mm-menu a:link, .mm-menu a:visited {
    text-transform:uppercase;
    font-size:20px
}

html {
    scroll-behavior: smooth;
}
:target {
	scroll-margin-top:200px
}
