/** GLOBAL CSS **/
.ry-section-bg, .ry-section-bg img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100%;
    z-index: -1;
	object-fit: cover;
}
.ry-services-section {
    padding: 0 !important;
}

.inside-testimonial-grid .testimonial * {
    color: #fff !important;
}

.ry-services-section .ry-container {
    max-width: 1300px;
    width: 90%;
}
.ry-grid-template {
    display: flex;
    flex-direction: column;
    gap: 60px;
}


.ry-services-section .section-bg, .ry-services-section .section-bg img {position: absolute;width: 100%;height: 100%;top: 0;left: 0;object-fit: cover;}

.ry-services-section .section-bg:before {
    content: " ";
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 80%);
    top: 0;
    left: 0;
    z-index: 1;
    position: absolute;
    pointer-events: none;
}

.ry-services-section .ry-content {
    z-index: 9;
}


.ry-srv-headline ul {
    padding: 0;
}

.ry-services-section .ry-photo.left {
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 0 30px 0 0;
}

.ry-services-section .ry-photo.right {
    width: 100%;
    max-width: 500px;
    margin: 0;
    padding: 0 0 0 30px;
}

.ry-services-section p, .ry-services-section span, .ry-services-section div {font-family: 'Raleway' !important;color: #000;font-weight: 500 !important;}

.ry-services-section h1, .ry-services-section h2, .ry-services-section h3, .ry-services-section h4, .ry-services-section h5, .ry-services-section h6 {
    color: #7bafd4 !important;
}

.ry-services-section span.fa-star {
    color: #f3d270 !important;
}

.ry-services-hero-banner-text p {
    color: #fff !important;
    text-shadow: -1px 0px 4px rgba(0, 0, 0, .6) !important;
    font-family: 'Raleway' !important;
}

@media (max-width: 1200px) {
	div.ry-services-section .ry-photo.right,
	div.ry-services-section .ry-photo.left {
		margin: 0 auto 30px;
		float: none;
	}
	
	div.ry-grid-template {
		gap: 30px;
	}
	
	div.ry-srv-headline ul {
		padding: 20px;
	}
}

.ry-grid-template .ry-flex:nth-child(even) {
    flex-direction: row-reverse;
}
.ry-grid-template .ry-flex {
    gap: 8rem;
    align-items: flex-start;
    justify-content: center;
}
.ry-srv-headline h2, .ry-srv-headline h3 {
    font-size: clamp(1.75rem, 1.6703rem + 0.3268vw, 2.0625rem) !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
    color: #414655;
    font-weight: 400 !important;
    font-family: "Raleway";
    padding: 5px 0 10px;
}
.ry-services-section .ry-content > .ry-flex {
    flex-direction: column;
}
.ry-text h5 {
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
}

.ry-services-hero-banner-text .ry-headline h1 {
    text-shadow: -1px 0px 4px rgba(0, 0, 0, .6) !important;
    font-weight: 700 !important;
    color: #fff !important;
    font-size: clamp(1.875rem, 1.3971rem + 1.9608vw, 3.75rem) !important;
}


.ry-testi-cards .ry-testi-name:before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #fff url(https://static.royacdn.com/Site-586a3608-1430-4274-8350-d1ef71e94bd4/HomepageAssetsV2/testi_av.png) no-repeat center;
    background-size: 24px; 
    border-radius: 50%;;
    margin-inline:auto;
    margin-bottom:14px
}

.ry-testi-cards .ry-testi-name {
    justify-content:center;
    align-items:center;
    display:flex;
    flex-direction:column;
    margin-top:30px
}

.ry-testi-name {
    margin-top: 1rem;
}
.ry-testi-name > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
body.default .ry-testi-name p {
    color: #fff !important;
    text-transform: uppercase;
	padding-top:10px;
	font-weight:bold !important
}


.ry-services-hero-section .ry-hero-background:before {
    position: absolute;
    content: " ";
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, transparent, hsl(0deg 0% 0% / 20%));
    inset: 0;
}

div.blacktext h4 a {
    color: #333 !important;
    padding: 15px;
    background: hsl(0deg 0% 100% / 74%);
    border-radius: 10px;
}

div.blacktext h4 a:after {
    color: #fff !important;
}

/** HERO SECTION **/

@media (min-width:1199px) and (max-width:1660px) {
    .ry-services-hero-section .ry-container .ry-btn-wrap {
		right: -4% !important;
		bottom: 50%;
	}
}


.ry-services-hero-section {
     display: grid;
    & > * {
        grid-column: 1;
        grid-row: 1;
    }
}
.ry-services-hero-section .ry-container {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}
.ry-services-hero-section .ry-container .ry-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    top: initial;
    bottom: 0;
   
}
.ry-services-hero-banner-text {
    margin-bottom: 3rem !important;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.ry-services-hero-section .ry-hero-background, .ry-services-hero-section .ry-hero-background img {
    object-fit: cover;
}
.ry-headline h1 {
    font-size: clamp(1.875rem, 1.3971rem + 1.9608vw, 3.75rem);
    line-height: 25px;
    text-transform: uppercase !important;
    color: #ffffff;
    font-weight: 300 !important;
    font-family: "Raleway";
}
.ry-headline h4 {
    font-size: 20px !important;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400 !important;
    font-family: "Raleway";
    text-transform: uppercase !important;
}

.ry-srv-headline h3 {
    font-size: clamp(1.625rem, 1.5613rem + 0.2614vw, 1.875rem) !important;
    text-wrap-style: balance;
}


.ry-text-link h4, .ry-text-link h4 a {
    font-size: clamp(1.5rem, 1.4363rem + 0.2614vw, 1.75rem);
    line-height: 25px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Raleway";
    position: relative;
}
.ry-text-link h4 a:after {
    content: "\f054";
    margin-left: 10px;
    font-family: 'FontAwesome';
    font-size: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background-color: #008b98;
}
.ry-text-link h4 a:hover:after {
    background-color: #175462;
}
.ry-text-link {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

/** VIDEO SECTION **/
.ry-video-frame {
    max-width: 960px;
    margin: 0 auto 1.5rem;
}
.ry-self-test-container .ry-container {
    min-height: 373px;
    position: relative;
}
.ry-self-test-container {
    position: relative;
    /*bottom: -9vw;*/
    z-index: 9;
	bottom: unset;
}
.ry-self-test-container .ry-flex {
    align-items: center;
    position: absolute;
    bottom: 0;
    padding: 2rem 3rem;
}
.ry-self-test-container .ry-flex .ry-btn-wrap {
    display: flex;
    justify-content: flex-end;
}
.ry-services-section.srv-section-2 {
    /*padding: 8rem 0 0 !important;*/
	padding: 8rem 0 !important;
}
.ry-self-test-container .ry-flex .ry-each {
    width: max-content;
}
.ry-self-test-container .ry-srv-headline h2 {
    color: #fff;
}
.ry-self-test-container .ry-section-bg img {
    /*filter: brightness(0.6);*/
	filter: none;
}

/** SECTION 3 **/
.ry-services-section.srv-section-3 {
    padding: 16rem 0 8rem !important;
}
.ry-services-section.srv-section-3 .ry-content .ry-flex {
    flex-direction: column;
    gap: 1rem;
}
.ry-services-tab {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ry-services-tab li a {
    background-color: #008b98 !important;
    border-radius: 0 !important;
    color: #fff;
    border: none !important;
}
.ry-services-tab li.active a {
    background-color: #005361;
    color: #fff;
}
.ry-services-tab .nav-tabs>li.active>a, 
.ry-services-tab .nav-tabs>li.active>a:hover, 
.ry-services-tab .nav-tabs>li.active>a:focus {
    background-color: #005361 !important;
    color: #fff;
}
.ry-services-tab .nav-tabs {
    display: flex;
    gap: 1rem;
}
.ry-services-tab .nav-tabs li, .ry-services-tab .nav-tabs li a {
    width: 100%;
}
.ry-services-tab .nav-tabs:before,
.ry-services-tab .nav-tabs:after {
    display: none;
}
.ry-services-tab .tab-content {
    border: none;
}

/** SECTION 4 **/
.ry-services-section.srv-section-4 .ry-flex {
    gap: 1.5rem;
    align-items: center;
	justify-content: center !important;
}
.ry-services-cta {
    padding: 3rem 5rem;
    margin-top: 4rem;
}
.ry-services-cta .ry-flex .ry-btn-wrap {
    width: max-content;
}
.ry-services-cta .ry-srv-headline h2 {
    color: #fff;
}

/** SECTION 5 / TESTIMONIALS **/
.ry-services-section.srv-section-5 .ry-testi-cards {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.ry-services-section.srv-section-5 .ry-testi-cards .ry-each {
    background: #005361;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}
.ry-services-section.srv-section-5 .ry-testi-cards .ry-each .ry-quote-wrap img {
    max-width: 56px;
    margin: 0 auto 1rem;
}
.ry-services-section.srv-section-5 .ry-testi-cards .ry-each .ry-text p {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    text-align: center;
}
.ry-testi-name {
    margin-top: 1rem;
}
.ry-testi-name > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.ry-testi-name p {
    color: #fff;
    text-transform: uppercase;
}
.ry-services-section.srv-section-5 .ry-testi-cards .ry-each .ry-text p {
    overflow: hidden;
    display: -webkit-box;
    /*-webkit-line-clamp: 8;
    line-clamp: 8;*/
    -webkit-box-orient: vertical;
}
.ry-services-section.srv-section-5 .ry-btn-wrap {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.ry-services-section.srv-section-5 .ry-testi-cards .ry-each {
    width: 48%;
}

	.ry-services-section.srv-section-5 .ry-testi-cards {
    flex-wrap: wrap;
}



@media (max-width:991px) {

	.ry-services-section.srv-section-5 .ry-testi-cards .ry-each {
    width: 48%;
}

}


@media (max-width:768px) {

	.ry-services-section.srv-section-5 .ry-testi-cards .ry-each {
    width: 100% !important;
}

}

/** SECTION 6 **/
.srv-section-6 img {
    object-fit: cover;
}

@media (max-width: 1080px) {
	.ry-services-hero-section .ry-container .ry-btn-wrap {
	    top: -24vw;
		bottom: initial !important;
	}
}


@media (width <= 1080px) {
	.ry-services-hero-section {
		display: grid;
		margin-top: 70px;
		background-color: #175462;
		& > * {
			grid-row: initial;
		}
	}
	.ry-services-hero-banner-text {
		padding: 2rem 0 0;
	}
	.ry-grid-template .ry-flex {
		flex-direction: column !important;
	}
	.ry-srv-headline h2, .ry-srv-headline p, .ry-text h5, .ry-text p {
		text-align: center !important;
	}
	.ry-self-test-container .ry-flex,
	.ry-services-section.srv-section-4 .ry-flex {
		flex-direction: column;
		gap: 10px;
	}
}
@media (width <= 768px) {
	.ry-services-section {
		padding: 4rem 0 0 !important;
	}
	.ry-grid-template .ry-flex {
		gap: 2rem;
	}
	.ry-self-test-container .ry-flex .ry-each {
		width: 100%;
	}
	.ry-self-test-container .ry-flex .ry-btn-wrap {
		justify-content: center;
	}
	.ry-services-hero-section .ry-container .ry-btn-wrap,
	.ry-services-tab .nav-tabs,
	.ry-services-section.srv-section-5 .ry-testi-cards {
		flex-direction: column;
	}
	.ry-services-section.srv-section-3 {
		padding: 6rem 0 4rem !important;
	}
}



.google-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ebebeb;
    border-radius: 999999px;
    width: 40px;
    height: 40px;
    margin: 30px auto 0;
}

.google-icon img {
    width: 20px;
    height: 20px;
}

@media (width <= 1080px) {
    .ry-services-hero-banner-text {
        padding: 2rem 0  !important;
    }
    .ry-services-hero-banner-text{
        margin-bottom:0 !important
    }
}
@media(max-width:480px){
   .ry-services-hero-section .ry-hero-background img {
    height:200px
 }
}
.ry-srv-headline h2,
.ry-srv-headline h3,
.ry-srv-headline h4,
.ry-srv-headline h5,
.ry-srv-headline h6 {
	font-weight:bold !important;
	text-transform:unset !important;
	color:#175462
}
.ry-srv-headline h2 {
     font-size:27px !important;
    font-weight:bold !important;
    text-transform:unset !important;
    color:#175462
}


.svg-wrapper .stars svg {width: 30px;height: 30px;}

.testimonial{
  position: relative;
  background: #015362;
  color:#fff;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 34px);
  overflow: visible; /* allow tail outside */
  width: min(600px, 100%);
  max-width: 100%;
}

/* Speech-bubble tail (always visible, responsive sizing) */
.testimonial::after{
  content: url("https://s3.amazonaws.com/static.organiclead.com/Site-aee150f9-00d9-46ee-a055-2d500533e941/site_assets/shape.png");
  position:absolute;
  right: clamp(-90px, -8vw, -60px);
  top: 52%;
  transform: translateY(-50%);
  /* width: clamp(120px, 18vw, 200px); */
  /* height: clamp(120px, 18vw, 200px); */
  /* background: #0c5f67; */

  /* Creates a “tail” shape without extra HTML */
  /* border-top-left-radius: 999px; */
  /* border-bottom-left-radius: 999px; */
  /* border-top-right-radius: 999px; */
  /* border-bottom-right-radius: 999px; */

  /* Carve it into a tail-ish blob */
  /* clip-path: polygon(
    8% 18%,
    58% 5%,
    100% 35%,
    92% 78%,
    45% 98%,
    8% 70%
  ); */
  z-index: 0;
  display: none;
}

.testimonial__quote{
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  white-space: pre-line; /* keep line breaks */
  font-size: clamp(16px, 1.15vw + 12px, 22px);
  line-height: 1.55;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92) !important;
}

.testimonial__bottom{
  position: relative;
  z-index: 1;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-top: 10px;
}

.testimonial__meta{
  display:flex;
  flex-direction: row;
  gap: 10px;
  min-width: 0;
  justify-content: space-between;
}

.stars{
  display:flex;
  gap: 0;
  align-items:center;
  line-height:1;
}
.stars svg{
  width: clamp(18px, 1.2vw + 12px, 26px);
  height: auto;
  fill:#f6c445;
  flex:0 0 auto;
}

.author{
  font-weight: 700 !important;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: clamp(14px, .6vw + 12px, 18px);
  margin-top: 5px;
}

.google-badge{
  flex: 0 0 auto;
  width: clamp(46px, 5vw, 72px);
  height: clamp(46px, 5vw, 72px);
  border-radius: 999px;
  background:#fff;
  display:grid;
  place-items:center;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  z-index: 2; /* keep above tail */
}

@media (max-width: 520px){
  .testimonial{
    padding: 18px 18px 22px;
  }
  .testimonial::after{
    right: -55px;
    top: 60%;
    width: 130px;
    height: 130px;
    clip-path: polygon(
      10% 22%,
      56% 10%,
      100% 40%,
      92% 78%,
      48% 95%,
      10% 72%
    );
    display: none;
  }
  
  .testimonial__bottom{
    align-items:flex-start;
  }
  
  .google-badge{
    width: 52px;
    height: 52px;
  }
  
  .google-badge svg{
    width: 40px;
    height: 40px;
  }
}

.testimonial__meta .svg-wrapper {
    width: 50%;
}


.testimonial__meta .google-badge {width: 40px;height: 40px;}

.google-badge svg {
    width: 20px;
    height: 20px;
}

.inside-testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-bg, .testimonial-bg img {
    position: absolute;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.col-xs-12.testimonial__bottom {}

.ry-services-section .ry-content {
    padding: 80px 0;
}