.hp-featured-services {
    padding: 190px 0 450px;
    background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-8ee4c67c-7db6-45d5-85b9-0c0d2c5eec49/site_assets/services_bg.jpg");
}

.hp-featured-services .ry-flex {
    display: grid;
    grid-template-columns: 480px max-content;
    justify-content: space-between;
}

.hp-featured-services  .block-nav .ry-each img {
    max-width: max-content;
    margin: 0 auto;
}

.hp-featured-services  .block-nav .ry-each {
    width: 167px;
    height: 167px;
    border-radius: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: 300ms ease-in-out;
    cursor: pointer;
}

.hp-featured-services .block-nav .ry-each.active img {
    filter: brightness(100) invert(0);
    transition: 300ms ease-in-out;
}

.hp-featured-services .block-nav .ry-each:last-child {
    background: #1e8b93;
}

.hp-featured-services .ry-headline h2 {
    font-size: clamp(2.5rem, 2.1814rem + 1.3072vw, 3.75rem);
    letter-spacing: -1px;
    color: #ffffff;
    font-weight: 600;
    font-family: "Playfair Display";
}

.hp-featured-services .ry-headline span {
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1e8c93;
    font-weight: 400;
    font-family: "Montserrat";
}

.hp-featured-services .services-details h3 {
    font-size: 31px;
    /* letter-spacing: -1px; */
    line-height: normal;
    color: #ffffff;
    font-weight: 500 !important;
    padding: 40px 0 20px;
    font-family: 'Montserrat' !important;
}

.hp-featured-services .services-details p {
    font-size: 20px;
    letter-spacing: -1px;
    line-height: 1.5;
    color: #ffffff;
    padding-bottom: 40px;
}

.hp-featured-services .block-for {
  width: 100%;
  max-width: 800px;
  /* margin: 0 auto 20px; */
}

.hp-featured-services .block-for .services-details {
  width: 100%;
  display: none;
  flex-direction: column;
}

.hp-featured-services .block-for .services-details.active {
  display: flex;
}

.hp-featured-services .block-for div .serv-icon img {
    max-width: max-content;
    margin: 0 auto;
}

.hp-featured-services .block-for div .serv-icon {
    display: none !important;
    background: #fff;
    width: 167px;
    height: 167px;
    border-radius: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms ease-in-out;
    cursor: pointer;
    margin: 30px auto 0;
}

.hp-featured-services .block-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 100%;
  margin: 0 auto;
  gap: 100px;
}

.hp-featured-services .block-nav img {
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hp-featured-services .block-nav .ry-each.active {
  opacity: 1;
  background: #1e8c93;
  transition: 300ms ease-in-out;
}

.hp-featured-services .block-nav .service-title {
    position: absolute;
    bottom: -4rem;
}

.hp-featured-services .block-nav .service-title p {
    font-size: 20px;
    letter-spacing: 0px;
    line-height: 26px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Montserrat";
    text-align: center;
}

.hp-featured-services .slick__btn-wrapper {
	display: none;
}

.hp-featured-services .group-btn button {
    height: 40px;
    width: 40px;
    border: none;
    outline: 0;
    background: #1e8c93;
}

.hp-featured-services .group-btn button svg {
    fill: #fff;
    width: 24px;
    height: 24px;
}

.hp-featured-services .group-btn button:hover,
.hp-featured-services .group-btn button:focus {
    opacity: 0.5;
}


.module-28 {
    background: #fef7f1;
}

.module-28 .ry-content {
    position: relative;
    background: #f0f0f0;
    padding-left: 200px;
    z-index: 9;
    margin-top: -15rem;
    border: 15px solid #fff;
}


/* Media Query */

@media screen and (max-width: 1680px) {
    div.module-28 .ry-content {
        padding-left: 100px;
    }
}


@media screen and (max-width: 1536px) {
    div.hp-featured-services .ry-flex {
        grid-template-columns: 1fr 1fr;
    }
    
    div.hp-featured-services .block-nav {
        column-gap: 4rem;
        row-gap: 6rem;
    }
    
    div.hp-featured-services .services-details p {
        text-wrap: balance;
    }

	
}

@media screen and (max-width: 1440px) {

	/* Welcome Query */
	
    div.module-welcome.style-5 .ry-flex {
        grid-template-columns: 45rem 1fr;
        gap: 3rem;
    }
    
    div.module-welcome.style-5 .ry-each.image-wrapper {gap: 30px;}
    
    div.module-welcome.style-5 .ry-each.image-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    div.module-welcome.style-5 .ry-each.image-wrapper .card:last-child {
        margin-top: 5rem;
    }
    
    div.module-welcome.style-5 .ry-each:not(.image-wrapper) {
        align-items: flex-start;
        padding-top: 5rem;
    }
    
    div.module-welcome.style-5 h3 {
        font-size: 27px;
    }
	
	div.hp-featured-services .block-nav {
		column-gap: 2rem;
		row-gap: 6rem;
	}

	div.hp-featured-services .ry-flex {
		align-items: center;
		justify-content: center;
	}

	 div.module-28 .ry-content {
        padding-left: 5%;
    }
    
    div.module-28 .ry-left img {
        max-width: 40rem;
        height: 25rem;
        object-fit: cover;
    }
    
    div.module-28 .ry-generic-copy p {
        text-wrap: balance;
    }
}

@media screen and (max-width: 1366px) {
    div.hp-featured-services .block-nav {
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        justify-content: center;
    }
    
    div.hp-featured-services .services-details p {
        padding-right: 25%;
        text-wrap: unset;
    }
    
    div.hp-featured-services .ry-flex {
        align-items: center;
        justify-content: center;
    }

	  div.module-28 .ry-generic-copy p {
        width: 40rem;
    }
}

@media screen and (max-width: 1280px) {

	/* Welcome Query */
	
    div.module-welcome.style-5 .ry-flex {
        grid-template-columns: 1fr 1fr;
    }
    
    div.module-welcome.style-5 {
        padding: 150px 0;
    }
    
    div.module-welcome.style-5 h3 {
        font-size: 21px;
    }

	/* Featured Services */
	
	div.hp-featured-services .block-for .services-details {
		display: flex !important;
	}
	
	div.hp-featured-services {
        padding: 80px 0 25rem;
    }
    
    div.hp-featured-services .ry-flex {
        display: block;
    }
    
    div.hp-featured-services .ry-flex .ry-each:nth-child(2) {
        display: none;
    }
    
    div.hp-featured-services .services-details p {
        padding: 0 0 30px;
        text-align: center;
    }
    
    div.hp-featured-services .block-for div .serv-icon {
        display: flex !important;
    }
    
    div.hp-featured-services .block-for {
        width: 100%;
        max-width: 100%;
    }
    
    div.hp-featured-services .block-for .services-details {
        align-items: center;
        justify-content: center;
    }
    
    div.hp-featured-services .services-details h3 {
        text-align: center;
        padding: 30px 0;
    }
    
    div.services-details a.ry-btn.ry-btn-primary {
        margin: 0 auto;
    }
    
    div.hp-featured-services .ry-headline span,
	div.hp-featured-services .ry-headline h2 {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    div.hp-featured-services .ry-headline span {
        line-height: 2;
    }

	div.hp-featured-services .slick__btn-wrapper {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding-top: 30px;
		gap: 30px;
	}
	
	div.hp-featured-services .ry-flex .ry-each:nth-child(1) {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	  div.module-28 .ry-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    div.module-28 .ry-left img {
        position: relative;
        max-width: max-content;
        width: 100%;
        height: 22rem;
        inset: 0;
        margin: 0 auto;
    }
    
    div.module-28 .ry-generic-copy p {
        width: 100%;
        text-align: center;
    }
    
    div.module-28 .ry-content {
        padding: 0;
        overflow: hidden;
        height: auto;
        gap: 30px;
    }
    
    div.module-28 .custom-headline h2 {
        text-align: center;
    }
    
    div.module-28 .ry-btn-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    div.module-28 .ry-left {
        width: 100%;
    }
    
    div.module-28 .ry-right {
        padding: 30px 5%;
    }
}

@media screen and (max-width: 1080px) {

	/* Welcome Query */
	
    div.module-welcome.style-5 .ry-flex {
        display: flex;
        flex-direction: column-reverse;
    }
    
    div.module-welcome.style-5 .ry-each:not(.image-wrapper) {
        padding: 0;
    }
    
    div.module-welcome.style-5 .ry-each.image-wrapper {
        gap: 80px;
    }
    
    div.module-welcome.style-5 .ry-flex {
        gap: 80px;
    }
    
    div.module-welcome.style-5 {
        padding: 80px 0;
    }
}
@media screen and (max-width: 1024px) {
	div.module-66 .bnr-textbox {
		position: relative;
		background: #000000;
		margin-bottom: 0 !important;
		padding: 30px 0;
	}
}

@media screen and (max-width: 991px) {
	
	/* Hero Query */
	
    div.module-66 .bnr-textbox .ry-section-title {
        font-size: 4rem;
        letter-spacing: 0;
    }
    
    div.module-66 .carousel .carousel-inner .item img {
        height: auto;
    }
    
    div.module-66 .bnr-textbox {
        position: relative;
        background: #000000;
        margin-bottom: 0 !important;
        padding: 30px 0;
    }
    
    div.module-66 .ry-section-title-wrapper * {
        text-align: center !important;
        display: block;
        margin: 0 auto;
        height: auto;
    }
    
    div.module-66 .ry-section-title-wrapper span {
        font-size: 26px;
    }
}

@media screen and (max-width: 767px) {
    div.custom-headline h2 {
        line-height: normal !important;
    }

	/* Welcome Query */
	
    div.module-welcome.style-5 .ry-each.image-wrapper .card:last-child {
        margin: 0;
    }
    
    div.module-welcome.style-5 .ry-each.image-wrapper {
        align-items: center;
        justify-content: center;
    }
    
    div.module-welcome.style-5 .ry-each.image-wrapper .card {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin: 0 auto;
        max-width: max-content;
        width: 100%;
    }
    
    div.module-welcome.style-5 h3 {
        text-align: center;
        font-size: 26px;
    }
}

@media screen and (max-width: 680px) {
	div.module-welcome.style-5 .ry-each.image-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
}


div.module-welcome.style-5 .ry-flex {
    gap: 40px;
}

div.module-welcome.style-5 .ry-each.image-wrapper .card {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

div.module-welcome.style-5 .image {
    margin-bottom: 15PX;
}

div.module-welcome.style-5 h3 {
    font-size: 20px;
    text-wrap: balance;
}

div.module-welcome.style-5 .ry-each.image-wrapper .card br {
    display: none;
}
}

@media screen and (max-width: 500px) {
	
	/* Hero Query */
	
    div.module-66 .bnr-textbox .ry-section-title {
        font-size: 3rem;
    }

    div.module-66 .ry-section-title-wrapper span {
        font-size: 22px;
        line-height: 2;
    }
}
@media screen and (max-width: 480px) {
	
	/* Hero Query */
	
    div.module-66 .bnr-textbox .ry-section-title {
        font-size: 2.5rem;
    }
}