body {
	&.home {

		h1,
		.h1 {
			font-size: 45px;
			line-height: 1.1em;

			/* Desktop Styles */
			@media (width >= 1024px) {
				font-size: 55px;
			}
		}

		h2,
		.h2 {
			font-size: 38px;
			line-height: 1.1em;
			font-style: italic;
			@media (width >= 768px) {
				font-size: 55px;
				line-height: 1.036em;
			}
			/* Desktop Styles */
			@media (width >= 1024px) {
				font-size: 60px;
				line-height: 1.033em;
			}
		}

		h3,
		.h3 {
			font-size: 20px;
			line-height: 1.2em;
			@media (width >= 768px) {
				font-size: 25px;
			}
			/* Desktop Styles */
			@media (width >= 1024px) {
				font-size: 30px;
				line-height: 1.1em;
			}
		}

		h4,
		.h4,
		h5,
		h6 {

			/* Desktop Styles */
			@media (width >= 1024px) {
				font-size: 31px;
			}
		}

		.rm-module {
			max-width: 100%;
			overflow: hidden;
			scrollbar-width: none;
		}
		.scroll-line {
			@media (width >= 1024px) {
				display: flex;
				align-items: center;
				flex-direction: column;
				z-index: 2;
				div {
					position: relative;
					background-color: var(--secondary-color);
					width: 1px;
					height: 100%;
					flex-grow: 1;
					flex-basis: 0;
				}
			}
		}
	}
}

.home-welcome.mod-split-image {
	padding: 55px 0 45px;
	position: relative;
	@media (width >= 768px) {
		padding-top: 80px;
	}
	@media (width >= 1024px) {
		padding-top: 115px;
		padding-bottom: 70px;
	}
	&.rm-module {
		overflow: unset;
	}
	.prehdng {
		margin-top: 0;
		margin-bottom: 15px;
		@media (width >= 768px) {
			margin-bottom: 10px;
		}
	}
	.module-heading {
		margin-bottom: 0;
		@media (width < 768px) {
			text-wrap-style: stable;
		}
	}
	> div {
		position: relative;
		z-index: 2;
	}
	&:before {
		@media (width >= 1024px) {
			content: "";
			position: absolute;
			width: 470px;
			height: 474px;
			bottom: -110px;
			left: 0;
			background-image: url('/wp-content/themes/rm-basetheme/images/svg/flower-1.svg');
			background-size: cover;
			background-position: center;
			background-repeat: no-repeat;
			z-index: 1;
			opacity: 0.3;
		}
	}
	&:after {
		content: "";
		position: absolute;
		width: 100%;
		height: 45%;
		bottom: 0;
		left: 0;
		/* background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.28) 20.19%, rgba(255, 255, 255, 0.71) 51.44%, #FFF 75.48%); */
		background-image: linear-gradient(180deg, rgb(from var(--light-color) r g b / 0) 0%, rgb(from var(--light-color) r g b / 0.28) 20.19%, rgb(from var(--light-color) r g b / 0.71) 51.44%, var(--light-color) 75.48%);
		@media (width >= 768px) {
			height: 23%;
		}
	}
	.section-intro-container {
		padding: 0 20px 15px;
		@media (width >= 768px) {
			padding: 0 40px 30px;
		}
		@media (width >= 1024px) {
			padding-bottom: 45px;
		}
		@media (width >= 1510px) {
			padding: 0 calc(40px + (50vw - (var(--full) / 2))) 45px;
		}
	}
	.split-wrapper {
		padding: 0 20px;
		@media (width >= 768px) {
			padding: 0 40px;
		}
		@media (width >= 1510px) {
			padding: 0 calc(40px + (50vw - (var(--full) / 2)));
		}
		.split-container {
			@media (width >= 1024px) {
				column-gap: 0;
			}
		}
		.split-content {
			padding: 30px 0;
			@media (width >= 1024px) {
				padding: 60px 40px;
			}
			.split-contain {
				max-width: 100%;
				@media (width >= 1024px) {
					max-width: 650px;
				}

			}
		}
		.split-image {
			overflow: hidden;
			img {
				object-position: top 25% left 50%;
				height: 60vw;
				@media (width >= 1024px) {
					object-fit: contain;
					height: 100%;
					object-position: center;
				}
				@media (width >= 1510px) {
					object-fit: cover;
				}
			}
		}
	}
	.read-more-button-container {
		margin-top: 15px;
		@media (width >= 1024px) {
			align-items: start;
			justify-content: flex-start;
		}
		.read-more-button {
			@media (width >= 1024px) {
				margin-left: 0;
			}
		}
	}
	.section-outro-container {
		padding-top: 10px;
		@media (width >= 1024px) {
			padding-top: 30px;
		}
	}
}

.home-procedures.mod-procedures {
	padding-top: 35px;
	padding-bottom: 195px;
	position: relative;
	@media (width >= 768px) {
		padding-top: 210px;
		padding-bottom: 90px;
	}
	@media (width >= 1024px) {
		padding-top: 185px;
		padding-bottom: 85px;
	}
	&:before {
		@media (width >= 768px) {
			content: "";
			position: absolute;
			width: 413px;
			height: 364px;
			top: 0;
			right: 0;
			background-image: url('/wp-content/themes/rm-basetheme/images/svg/flower-2.svg');
			background-size: cover;
			background-position: center;
			background-repeat: no-repeat;
			/* transform: translateX(50%); */
			z-index: 0;
			opacity: 0.3;
		}
		@media (width >= 1024px) {
			width: 470px;
			height: 567px;
		}
	}
	&:after {
		content: "";
		position: absolute;
		width: 100%;
		height: 410px;
		bottom: 0;
		left: 0;
		background-image: url('/wp-content/themes/rm-basetheme/images/svg/flower-3.svg');
		background-size: contain;
		background-position: bottom center;
		background-repeat: no-repeat;
		z-index: -1;
		opacity: 0.3;
		@media (width >= 768px) {
			width: 56%;
			height: 490px;
			bottom: 20px;
		}
		@media (width >= 1024px) {
			/* width: 555px; */
			height: 670px;
			bottom: 0;
		}
	}
	h2 {
		font-size: 20px;
		line-height: 1.2em;
		text-transform: uppercase;
		letter-spacing: 0.1em;
		font-family: var(--primary-font);
		font-weight: var(--fw-medium);
		font-style: normal;
		color: var(--secondary-color);
		margin-bottom: 5px;
		@media (width >= 768px) {
			font-size: 23px;
		}
		@media (width >= 1024px) {
			font-size: 30px;
			line-height: 1.1em;
		}
	}
	.module-subheading {
		font-size: 38px;
		line-height: 1.1em;
		font-style: italic;
		font-family: var(--secondary-font);
		font-weight: var(--fw-regular);
		text-transform: none;
		letter-spacing: 0;
		color: var(--primary-color);
		margin-bottom: 0;
		@media (width >= 768px) {
			font-size: 60px;
		}
		@media (width >= 1024px) {
			font-size: 76px;
		}
	}
	.section-intro {
		margin-bottom: 30px;
		@media (width >= 768px) {
            margin-right: 50%;
            position: absolute;
            padding: 40px 10px;
            margin-bottom: 0;
			left: 0;
            width: 50%;
		}
		@media (width >= 1024px) {
			padding: 55px 40px;
		}
	}
}

.home-doctors.mod-doctors {
	padding-top: 40px;
	padding-bottom: 0;
	position: relative;
	@media (width >= 1024px) {
		padding-top: 65px;
		padding-bottom: 125px;
	}
	&:after {
		@media (width >= 1024px) {
			content: "";
			position: absolute;
			width: 490px;
			height: 505px;
			bottom: 0;
			right: 0;
			background-image: url('/wp-content/themes/rm-basetheme/images/svg/flower-4.svg');
			background-size: contain;
			background-position: right center;
			background-repeat: no-repeat;
			z-index: -1;
			opacity: 0.3;
		}
	}
	> .module-heading {
		margin-bottom: 15px;
		margin-left: auto;
		margin-right: auto;
		padding: 0 20px;
		@media (width >= 768px) {
			padding: 0 40px;
		}
		@media (width >= 1024px) {
			max-width: 100%;
		}
	}
	.module-subheading {
		margin-bottom: 25px;
		margin-left: auto;
		margin-right: auto;
		padding: 0 20px;
		@media (width >= 768px) {
			margin-bottom: 40px;
			max-width: 700px;
			padding: 0 40px;
		}
		@media (width >= 1024px) {
			padding: 0;
			margin-bottom: 25px;
			max-width: 830px;
		}
	}
	.doctor-list {
		h2 {
			font-size: 30px;
			line-height: 1.04em;
			color: var(--secondary-color);
			font-weight: var(--fw-regular);
			margin-bottom: 20px;
			@media (width >= 768px) {
				font-size: 45px;
				margin-bottom: 30px;
			}
			@media (width >= 1024px) {
				margin-bottom: 25px;
				text-align: left;
			}
			@media (width >= 1300px) {
				font-size: 50px;
			}
		}
	}
}

/* @keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
} */

/* @keyframes reveal {
  from { opacity: 0; }
  to { opacity: 1; }
} */

.home-testimonial.mod-testimonial {
	padding-top: 0;
	margin-top: 25px;
	padding-bottom: 200px;
	@media (width >= 768px) {
		margin-top: 30px;
		padding-bottom: 335px;
	}
	@media (width >= 1024px) {
		background-attachment: fixed;
		margin-top: 50px;
		text-align: left;
		padding-bottom: 410px;
	}
	@media (width >= 1500px) {
		padding: 0 calc(40px + (50vw - (var(--full) / 2))) 410px;
	}
	&.rm-module {
		overflow: unset;
	}
	.testimonial-wrap {
		position: relative;
		display: flex;
		flex-direction: column;
		@media (width >= 1024px) {
			padding-left: 45px;
		}
	}
	.scroll-line {
		@media (width >= 1024px) {
            position: absolute;
            left: 0;
            top: 0;
			margin-top: -50px;
            height: calc(100% - 25px);
		}
	}
	.intro-icon {
		margin-top: -25px;
		overflow: hidden;
		order: -2;
		margin-bottom: 45px;
		max-width: 100%;
		text-align: center;
		@media (width >= 768px) {
			margin-top: -30px;
			margin-bottom: 85px;
		}
		@media (width >= 1024px) {
			margin-top: -50px;
			margin-bottom: 45px;
		}
		img, svg {
			transform-origin: center;
			padding: 10px;
			width: 200px;
			height: auto;
			@media (width >= 768px) {
				width: 300px;
			}
			@media (width >= 1024px) {
				width: 495px;
			}
		}
	}
	.section-intro {
		order: -1;
		padding-top: 0;
	}
	.star-icon {
		margin-bottom: 10px;
		@media (width >= 1024px) {
			margin-bottom: 0;
		}
    	img {
			margin-bottom: 0;
			width: 176px;
			height: 28px;
			max-width: 100%;
			@media (width >= 768px) {
				width: 257px;
				height: 41px;
			}
			@media (width >= 1024px) {
				width: 314px;
				height: 50px;
				margin-left: 0;
				margin-right: 0;
			}
		}
	}
	.module-heading {
		font-size: 45px;
		letter-spacing: 0.04em;
		line-height: 1.1em;
		text-transform: uppercase;
		margin-bottom: 10px;
		@media (width >= 768px) {
			font-size: 70px;
		}
		@media (width >= 1024px) {
			font-size: 100px;
			margin-bottom: 5px;
		}
	}
	.module-subheading {
		margin-top: 0;
		margin-bottom: 0;
	}
	blockquote {
		font-size: 22px;
		line-height: 1.36em;
		margin-top: 35px;
		margin-bottom: 25px;
		letter-spacing: 0;
		@media (width >= 768px) {
			font-size: 27px;
			margin-top: 45px;
			margin-bottom: 30px;
		}
		@media (width >= 1024px) {
			font-size: 32px;
			margin-bottom: 35px;
			text-align: left;
			max-width: 100%;
		}
	}
	figcaption {
		font-size: 22px;
		text-transform: none;
		@media (width >= 768px) {
			font-size: 26px;
		}
		@media (width >= 1024px) {
			font-size: 30px;
			text-align: left;
			margin-bottom: 0;
		}
	}
	.read-more-button-container {
		margin-top: 5px;
		z-index: 1;
		@media (width >= 768px) {
			margin-top: 25px;
		}
		@media (width >= 1024px) {
			margin-left: 50%;
			justify-content: flex-end;
    		margin-top: -65px;
			position: relative;
			z-index: 1;
		}
	}

}

.home-ig-feed.mod-split-image {
	@media (width >= 1024px) {
		padding-bottom: 105px;
	}
	&.rm-module {
		overflow: unset;
	}
	.intro-icon {
		img {
			width: 38px;
			height: 39px;
			@media (width >= 768px) {
				width: 63px;
				height: 64px;
			}
		}
	}
	.module-heading {
		/* font-size: 38px; */
		margin-bottom: 0;
		letter-spacing: 0;
		@media (width >= 768px) {
			font-size: 55px;
		}
	}
	.module-subheading {
		margin-bottom: 25px;
		text-transform: none;
		letter-spacing: 0.05em;
		@media (width >= 768px) {
			margin-bottom: 30px;
		}
	}
	.split-content {
		position: relative;
	}
	.split-container {
		.intro-icon {
			width: 38px;
			margin-bottom: 10px;
			@media (width >= 768px) {
				width: 63px;
				margin-bottom: 15px;
			}
		}
		.split-image {
			min-height: 117vw;
    		position: relative;
			z-index: 1;
    		overflow: hidden;
			margin-top: -115px;
			margin-right: 15px;
			@media (width >= 768px) {
				min-height: 109vw;
				margin-right: 45px;
			}
			@media (width >= 1024px) {
				min-height: 32vw;
				margin-top: -135px;
				margin-right: 0;
			}
		}
	}
	.split-content {
		padding-top: 50px;
		padding-bottom: 50px;
		@media (width >= 768px) {
			padding-top: 80px;
			padding-bottom: 80px;
		}
		@media (width >= 1024px) {
			padding-top: 125px;
			padding-bottom: 125px;
			position: relative;
		}
	}
	.scroll-line {
		@media (width >= 1024px) {
            position: absolute;
            right: 10px;
            top: 0;
            height: calc(100% + 105px);
		}
		@media (width >= 1600px) {
			right: 65px;
		}
	}
	.read-more-button-container {
		margin-top: 15px;
		@media (width >= 1024px) {
			margin-top: 20px;
		}
	}
}