/* HP - SERVICES CTA */

.hp-custom-services-cta .ry-container {
    width: min(1680px, 100%);
    max-width: 100%;
}

.hp-custom-services-cta .ry-content {position: relative;z-index: 2;}

.hp-custom-services-cta .ry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Default to 6 columns */
     /* Optional: adjust spacing between items */
}

.hp-custom-services-cta .ry-grid .each:hover .cta-wrapper .cta-img, .hp-custom-services-cta .ry-grid .each:focus .cta-wrapper .cta-img {
    background: #1a46b9;
    transition: 300ms ease-in-out;
}

.hp-custom-services-cta .ry-grid .each  {
    cursor: pointer;
}

.hp-custom-services-cta .ry-grid .each .cta-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    gap: 20px;
    padding: 85px 0 0;
}

.hp-custom-services-cta .ry-grid .each img {
    max-width: max-content;
    margin: 0 auto;
}

.hp-custom-services-cta .ry-grid .cta-title {
    width: 50%;
    margin: 0 auto;
}

.hp-custom-services-cta .ry-grid .cta-title .title-text {
    margin: 0 auto;
    font-size: clamp(1rem, 0.9363rem + 0.2614vw, 1.25rem) !important;
    text-transform: uppercase;
    color: #3a5a40;
    font-weight: 400 !important;
    text-align: center;
    text-wrap: balance !important;
    line-height: 1.2;
}

.hp-custom-services-cta .ry-grid .each .cta-wrapper .overlink,
.hp-custom-services-cta .ry-grid .each .cta-wrapper .overlink a {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    font-size: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 9;

}

.hp-custom-services-cta .ry-grid .each  .cta-wrapper .cta-img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 218px;
	height: 218px;
	border-radius: 50%;
	background: #3a5a40;
	border: 8px solid #fff;
	margin: 0 auto;
	box-shadow: 0 0;
	transition: 300ms ease-in-out;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.hp-custom-services-cta .ry-grid .each .cta-title .title-text:after {
    content: " ";
    background: var(--primary-bg-color);
    width: 0;
    height: 2px;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: 300ms ease-in-out all;
}


.hp-custom-services-cta .ry-grid .each:last-child .cta-title .title-text:after {
	bottom: -15px;	
}

.hp-custom-services-cta .ry-grid .each:hover .cta-title .title-text:after {
    opacity: 1;
    width: 160px;
}

@media (max-width: 1366px) {
	div.hp-custom-services-cta .ry-grid {
		
		transform: scale(.9);
	}
	
	div.hp-custom-services-cta .ry-grid .cta-title {
		width: 100%;
	};
}
@media (max-width: 1280px) {

	div.hp-custom-services-cta .ry-grid {display: block;}

	div.hp-custom-services-cta .ry-content {
		background: #f9f9f9;
		padding: 80px 0 130px;
	}
	
	div.hp-custom-services-cta .ry-grid .cta-title .title-text {
		font-size: 20px !important;
	}

	div.hp-custom-services-cta .ry-grid {
		grid-template-columns: repeat(3, 1fr); /* 3 columns */
		gap: 30px;
		transform: unset;
	}

	 div.hp-custom-cta__slick .slick-arrow {
        width: 40px;
        height: 40px;
        background: #3a5a40;
        border-radius: 50px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: calc(50% - 25px);
        top: 110%;
        transform: translateX(-50%);
        transition: .3s;
        font-size: 0;
        border: unset;
        outline: 0;
    }
    
    div.hp-custom-cta__slick .slick-next.slick-arrow {
        left: calc(50% - -25px);
    }
    
    div.hp-custom-cta__slick .slick-arrow:before {
        content: "\f061";
        position: absolute;
        transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        font-size: 14px;
        margin: auto;
        transition: .3s;
        font-family: 'FontAwesome';
        color: #fff;
    }
    
    div.hp-custom-cta__slick .slick-next.slick-arrow:before {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transition: .3s;
        color: #fff;
    }

div.hp-custom-services-cta .ry-grid .each .cta-wrapper {
    padding: 60px 0;
}
}

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

}

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

}

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

.hp-custom-services-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

.hp-custom-services-cta .hp-headline h2 {
    text-align: center;
    text-transform: capitalize;
    line-height: 1.2;
}

.hp-custom-services-cta .ry-grid .each:nth-child(even) .cta-wrapper .cta-img {
}

.hp-custom-services-cta .ry-grid .each:nth-child(even) .cta-title .title-text:after {
    background: var(--secondary-bg-color);
}


.hp-custom-services-cta .wave-img,
.hp-custom-services-cta .wave-img img {
    position: absolute;
    bottom: -1px;
    width: 100%;
    object-fit: contain;
}

/*END OF HP - SERVICES CTA */


.hp-custom-services-cta .hp-headline span {
    font-size: 24px;
    letter-spacing: 14px;
    text-transform: uppercase;
    color: #16b3e4;
    font-weight: 300;
    font-family: "Poppins";
    text-align: center;
    display: block;
}

.hp-custom-services-cta .hp-headline h2 {
    font-size: 60px;
    font-size: clamp(3rem, 2.8088rem + 0.7843vw, 3.75rem);
    color: #1a46ba;
    font-weight: 300 !important;
    font-family: "Poppins";
    text-align: center;
}

.hp-custom-services-cta:before {
    content: " ";
    background: #f9f9f9;
    height: 31vh;
    width: 100%;
    inset: 0;
    position: absolute;
    z-index: -1;
}

.module-43 .ry-right .ry-btn.ry-btn-primary {
    background: #00b3e3 !important;
}

/** BRANDS **/

.custom-brands .ry-heading span.span-1 {
    text-align: center;
    display: block;
    font-size: 24px;
    letter-spacing: 14px;
    text-transform: uppercase;
    color: #16b3e4;
    font-weight: 300;
    font-family: "Poppins";
    text-align: center;
    line-height: 2;
}

.custom-brands .ry-heading h2 {
    font-size: clamp(3rem, 2.8088rem + 0.7843vw, 3.75rem);
    color: #1a46ba;
    font-weight: 300 !important;
    text-align: center;
}



.custom-brands .ry-copy h2 span.span-1 {
    color: #3ba5de;
}

.custom-brands .ry-content.ry-flex {
    flex-direction: column;
}

.custom-brands .ry-copy p {
    position: relative;
    text-align: left;
    font-size: 20px;
    color: #666666;
    font-weight: 400;
    line-height: 1.5;
    padding-left: 70px;
    max-width: 320px;
    margin: 30px 0 0;
}

.custom-brands .ry-copy p:before {
    content: '';
    width: 44px;
    height: 2px;
    background: #666666;
    position: absolute;
    left: 0;
    top: 15px;
}

.custom-brands .ry-copy .ry-img {
    margin-left: -190px;
    margin-top: 60px;
    max-width: 700px;
}

.custom-brands .ry-carousel .carousel-control {
    display: none;
}

.custom-brands .ry-carousel .ry-flex {
    align-items: center;
}

.custom-brands .ry-carousel .ry-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin: 0 0 30px;
    border: 1px solid rgb(197, 200, 208);
    overflow: hidden;
    background-image: -moz-linear-gradient( 90deg, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(238,238,238) 0%, rgb(255,255,255) 100%);
}

.custom-brands .ry-carousel .ry-box .ry-brand {
    position: absolute;
}

.custom-brands .ry-carousel .ry-box .ry-brand img {
	width: auto;
	margin: 0 auto;
	max-width: 125px;
	aspect-ratio: 16/9;
	object-fit: contain;
}

.custom-brands .ry-carousel .ry-flex .ry-col:nth-child(2) {
    margin: 0 40px;
}

.custom-brands .ry-carousel .ry-box .ry-bg {
    visibility: hidden;
}

.custom-brands .ry-carousel .ry-box:hover .ry-bg {
    visibility: visible;
}

.custom-brands .ry-container {
    max-width: 1280px;
    width: 90%;
}

.custom-brands .ry-container {
    max-width: 100%;
    width: 100%;
}

.custom-brands .ry-carousel ol.carousel-indicators {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 !important;
    top: 50% !important;
    width: fit-content !important;
    left: unset !important;
    right: -60px !important;
    float: right;
    transform: translateY(-50%);
}

.custom-brands .ry-carousel .carousel {
	position: relative;
	max-width: 800px;
}

.custom-brands .ry-copy {
}

.custom-brands .ry-carousel {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 160px;
    padding-top: 80px;
}

.custom-brands .ry-carousel ol.carousel-indicators li {
    width: 10px;
    height: 10px;
    border: 0;
    background: #dcdcdc;
    margin: 3.5px 0;
}

.custom-brands .ry-carousel ol.carousel-indicators li.active {
    background: #3ba5de;
}

.custom-brands {
    padding: 2rem 0 10rem;
    background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-302257f7-c4cc-494f-afe1-3c6dc811888b/site_assets/brands_bg.png");
    background-position: center;
    background-size: cover;
}

.module-welcome.style-5 .custom-headline span.span-1 {
    text-align: center;
    display: block;
    font-size: 24px;
    letter-spacing: 14px;
    text-transform: uppercase;
    color: #16b3e4;
    font-weight: 300;
    font-family: "Poppins";
    text-align: center;
    line-height: 2;
}





@media (max-width: 1860px) {
	.custom-doctors .ry-content,
	 {
		transform: scale(0.9);
	}
}
@media (max-width: 1200px) {


.custom-brands .ry-content.ry-flex {
		flex-direction: column;
		align-items: center;
	}

	.custom-brands .ry-copy .ry-img {
		margin-left: 0;
		margin-top: 0;
	}

	.custom-brands .ry-carousel .carousel {
		max-width: 767px;
	}
	
	.custom-brands .ry-carousel {
		margin-top: 40px;
		width: 100%;
		flex-direction: column-reverse;
		padding-right: 0;
		align-items: center;
		justify-content: center;
	}
	
	.custom-brands .ry-copy {
		width: 100%;
		display: flex;
		align-items: center;
	}
    }

@media (max-width: 991px) {
	.module-welcome.style-5 .custom-headline span.span-1,
	.custom-brands .ry-heading span.span-1,
	.hp-custom-services-cta .hp-headline span{
		letter-spacing: 4px;
	}

    .custom-brands .ry-copy {
		flex-direction: column;
		align-items: center;
	}

	.custom-brands .ry-copy h2 {
		text-align: center;
	}

	.custom-brands .ry-copy p {
		margin: 30px auto;
	}

	.custom-brands .ry-copy .ry-img {
		display: none;
	}
	
	.custom-brands .ry-carousel {
		width: 100%;
	}
	
	.custom-brands .ry-carousel {
		padding-right: 0;
		padding-top: 1rem;
	}

	.custom-brands .ry-carousel ol.carousel-indicators {
		margin: 20px 0 0;
		position: relative;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		flex-direction: row;
		justify-content: center;
		transform: none !important;
		top: unset !important;
		bottom: 0 !important;
		align-items: center;
		float: none;
	}

	.custom-brands .ry-carousel .carousel {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
	}

	.custom-brands .ry-carousel ol.carousel-indicators li {
		margin: 0 3.5px;
	}
	
	.custom-brands .ry-carousel .ry-flex {
		flex-direction: column;
	}

	.custom-brands .ry-carousel .ry-box {
		margin: 10px 10px;
		width: 100%;
		max-width: 150px;
		min-width: 120px;
	}

	.custom-brands .ry-carousel .ry-col {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	
	.custom-brands .ry-carousel .ry-box .ry-brand img {
		transform: scale(0.8);
	}
}