.homepage {
	container: homepage / inline-size;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
	font-size: 16px;
	font-family: 'Montserrat';
	line-height: 2;
	letter-spacing: 0px;
	background-color: #000;
	overflow: hidden;
}

.row-xnix-line-clock {
	position: absolute;
	top: 8px;
	left: 50%;
	translate: -50% 0;
	width: 32px;
	border-radius: 8px;
}



/* row-c */

.row-c {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	align-self: start;
}

.row-text4 {
	margin-top: 9px;
	color: #f00;
	font-size: 19px;
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0px;
	text-align: left;
}

/* end row-c*/


.group {
	width: 47px;
	flex-shrink: 0;
}



/* circle-arrow */

.circle-arrow {
	position: absolute;
	width: 48px;
	height: 48px;
	background: linear-gradient(180deg, #f00 0%, rgba(255, 0, 0, 0.7) 100%) top left / auto auto no-repeat;
	border-radius: 50%;
}

.circle-arrow-img {
	position: absolute;
	top: 16px;
	left: 53%;
	translate: -50% 0;
	rotate: -45deg;
	transform-origin: 50% 50%;
	margin-left: -3px;
	width: 14px;
}

/* end circle-arrow*/


.homepage-text {
	font-size: 16px;
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0px;
	text-align: left;
}



/* row-d */

.row-d {
	position: relative;
	margin-top: 112px;
	max-width: 1280px;
	display: flex;
	align-items: flex-start;
}

.row-col2 {
	display: flex;
	flex-direction: column;
	gap: 32px;
	flex-grow: 1;
}

.row-title1 {
	color: #fff;
	font-size: 48px;
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0px;
	text-align: left;
}

.btn2 {
	justify-content: center;
	gap: 15px;
	font-style: normal;
	letter-spacing: 0px;
	text-align: unset;
	background-image: linear-gradient(180deg, #f00 0%, #c80000 100%);
}

.btn-label1 {
	text-align: center;
}

.btn-icon1 {
	margin-top: 9px;
	width: 15px;
	flex-shrink: 0;
}

/* end row-d*/




/* row-e */

.row-e {
	position: relative;
	display: flex;
	align-items: flex-start;
}

.row-col3 {
	display: flex;
	flex-direction: column;
	gap: 32px;
	flex-shrink: 0;
}

.row-title2 {
	color: #fff;
	font-size: 48px;
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0px;
	text-align: left;
}

.btn3 {
	justify-content: center;
	gap: 15px;
	font-style: normal;
	letter-spacing: 0px;
	text-align: unset;
	background-image: linear-gradient(180deg, #f00 0%, #c80000 100%);
}

.btn-label2 {
	text-align: center;
}

.btn-icon2 {
	margin-top: 9px;
	width: 15px;
	flex-shrink: 0;
}

/* end row-e*/


.homepage-rect {
	position: relative;
	z-index: 1;
	height: 335px;
	background-color: rgba(0, 0, 0, 0.4);
	border-top-left-radius: 24px;
	border-bottom-left-radius: 24px;
}

.atoms-icons-system {
	margin-right: -1px;
	margin-top: 9px;
	width: 15px;
	flex-shrink: 0;
}

.homepage-mesh {
	position: absolute;
	top: 616px;
	left: -128px;
	right: -538px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1150px;
	padding: 0 24px 660px 24px;
}

.homepage-circle {
	position: absolute;
	height: 1054px;
	max-width: 1054px;
	background: radial-gradient(50% 50% at 50% 50%,
			rgba(255, 0, 0, 0.3) 0%, rgba(255, 0, 0, 0) 100%) top left / auto auto no-repeat;
	border-radius: 50%;
}

.homepage-circle1 {
	z-index: 1;
	top: 644px;
	left: 0;
	width: calc(100% - 0px);
}

.homepage-circle2 {
	z-index: 1;
	top: 2864px;
	left: 608px;
	width: calc(100% - 608px);
	background-image: radial-gradient(50% 50% at 50% 50%,
			rgba(255, 0, 0, 0.1) 0%, rgba(255, 0, 0, 0) 100%);
}

.homepage-circle3 {
	z-index: 2;
	top: 785px;
	left: 1053px;
	width: calc(100% - 1053px);
	background-image: radial-gradient(50% 50% at 50% 50%,
			rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0) 100%);
}

.homepage-circle4 {
	position: static;
	margin-left: 141px;
	width: 100%;
	flex-shrink: 0;
}

.homepage-circle5 {
	position: static;
	margin-left: -295px;
	width: 100%;
	flex-shrink: 0;
}

.homepage-group-top {
	position: relative;
	z-index: 9;
	min-height: 1904px;
	flex-shrink: 0;
	align-self: stretch;
}

.homepage-group1 {
	container: homepage-group1 / inline-size;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	min-height: 1904px;
}


.homepage-row1 {
	position: absolute;
	top: 864px;
	left: 50%;
	translate: -50% 0;
	width: max-content;
	display: flex;
	align-items: flex-start;
	gap: 64px;
	line-height: 1.2;
	background-color: #fff;
	padding: 24px 63px;
	border-radius: 24px;
}



/* row-b */

.row-b {
	margin-top: 11px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.row-group-left {
	position: relative;
	margin-top: 6px;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	background: linear-gradient(180deg, #f00 0%, #c80000 98%) top left / auto auto no-repeat;
	border-radius: 8px;
}

.row-col1 {
	width: 182px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
	text-align: left;
}

.row-text2 {
	color: #000;
	font-weight: 700;
}

.row-text3 {
	color: #6d6e71;
	font-size: 14px;
	font-weight: 400;
}

/* end row-b*/


.homepage-line {
	width: 0;
	height: 81px;
	flex-shrink: 0;
	border-left: 1px solid #f00;
	border-radius: 1px;
}

.homepage-btn {
	margin-top: 17px;
	width: 246px;
	display: flex;
	justify-content: center;
	flex-shrink: 0;
	color: #fff;
	font-style: normal;
	line-height: 2;
	letter-spacing: 0px;
	text-align: center;
	background: linear-gradient(180deg, #f00 0%, #c80000 100%) top left / auto auto no-repeat;
	padding: 8px 10px;
	border-radius: 8px;
}

.homepage-rect1 {
	position: absolute;
	top: 1104px;
	left: 0;
	right: 0;
	height: 800px;
	background-color: #1b1b1b;
}

.homepage-our-vision-your {
	position: absolute;
	top: 104px;
	left: 7px;
	right: 24px;
	font-size: 46.98px;
	line-height: normal;
	background: url(../assets/homepage-our-vision-your.png) center / cover no-repeat;
	padding: 110px 157px 317px 157px;
}

.homepage-mask-group1 {
	position: absolute;
	top: 159px;
	left: 633px;
	width: calc(100% - 633px);
	max-width: 626px;
}

.card1 {
	position: absolute;
	top: 558px;
	left: 352px;
	box-shadow: 0px 9.79px 39.15px 0px rgba(0, 0, 0, 0.4);
	width: calc(100% - 352px);
	max-width: 405px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 15.66px;
	line-height: 1.6;
	background: linear-gradient(180deg, #ed2390 0%, #f00 100%) top left / auto auto no-repeat;
	padding: 24px 23px 27px 24px;
	border-radius: 23.49px;
}

.card-img {
	width: 157px;
	flex-shrink: 0;
	align-self: start;
}

.homepage-text-support {
	position: absolute;
	top: 360px;
	left: 164px;
	right: 880px;
	color: #a1aeb7;
	font-size: 18.6px;
	line-height: 1.6;
}

.homepage-col1 {
	position: absolute;
	top: 1216px;
	left: 640px;
	width: calc(100% - 640px);
	max-width: 640px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.row-top3 {
	align-self: start;
}

.homepage-title {
	min-height: 177px;
	flex-shrink: 0;
	text-align: left;
	font-size: 45px;
	font-weight: 700;
}

.homepage-text-paragraph1 {
	align-self: stretch;
	color: #A1AEB7;
	text-align: left;
	font-family: 'Montserrat';
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	width: 640px;
	height: 312px;
}

.homepage-group2 {
	position: absolute;
	top: 1656px;
	left: 160px;
	width: calc(100% - 160px);
	max-width: 410px;
	display: flex;
	/* Use flex to contain children */
	flex-direction: column;
}

.homepage-bg {
	position: absolute;
	top: 0;
	left: 0;
	backdrop-filter: blur(25px);
	width: 100%;
	height: 100%;
	/* Cover entire height */
	z-index: 1;
}

.circle-arrow2 {
	bottom: 2px;
	right: 2px;
	z-index: 5;
}

.homepage-col2 {
	position: relative;
	/* Relative instead of absolute allows height to grow */
	z-index: 10;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.homepage-text-paragraph2 {
	color: #fff;
	margin: 0;
}

.homepage-text-andrei-ella {
	text-align: left;
	margin: 0;
}

.homepage-mask-group2 {
	position: absolute;
	top: 1216px;
	left: 160px;
	width: calc(100% - 160px);
	max-width: 410px;
}

.row3 {
	z-index: 4;
	margin-left: -1px;
	width: calc(100% - 319px);
	gap: 111px;
	padding-left: 1px;
}

.row3 .row-col2 {
	margin-bottom: -2px;
}

.row3 .row-top1 {
	padding-right: 115px;
}

.row3 .btn2 {
	padding-left: 38px;
	padding-right: 37px;
}

.homepage-row2 {
	position: relative;
	z-index: 7;
	margin-top: 118px;
	display: flex;
	align-items: flex-start;
	gap: 32px;
}



/* column */

.column {
	position: relative;
	margin-top: -376px;
	width: 352px;
	display: flex;
	flex-direction: column;
	gap: 33px;
	flex-shrink: 0;
	padding: 399px 23px 21px 23px;
}

.column-group {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 704px;
}

.column-bg {
	position: absolute;
	top: 376px;
	left: 0;
	backdrop-filter: blur(25px);
	width: calc(100% - 0px);
	max-width: 352px;
}

.column-icon {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	align-self: start;
}

.column-col-bottom {
	position: relative;
	z-index: 2;
	margin-left: 1px;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.column-text {
	color: #fff;
	font-size: 19px;
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0px;
	text-align: left;
}

.column-text-paragraph {
	min-height: 129px;
	flex-shrink: 0;
	color: #a1aeb7;
	font-size: 16px;
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0px;
	text-align: left;
}

/* end column*/


.col1 {
	padding-left: 24px;
	padding-top: 400px;
	padding-right: 24px;
}

.col1 .circle-arrow1 {
	top: 0;
	left: 304px;
}

.col1 .column-icon {
	width: 87px;
}

.col1 .column-col-bottom {
	margin-left: 0;
}

.col2 .circle-arrow1 {
	top: 0;
	left: 304px;
}

.col2 .column-icon {
	width: 91px;
}

.col2 .column-col-bottom {
	margin-right: 2px;
}

.col3 .circle-arrow1 {
	top: 0;
	left: 304px;
}

.col3 .column-icon {
	width: 90px;
}

.col3 .column-col-bottom {
	margin-right: 1px;
}

.row4 {
	z-index: 8;
	margin-top: 112px;
	gap: 224px;
}

.row4 .row-col3 {
	width: 640px;
	padding-bottom: 1px;
}

.row4 .row-top2 {
	padding-right: 60px;
}

.row4 .btn3 {
	padding-left: 50px;
	padding-right: 49px;
}

.homepage-col3 {
	container: homepage-col3 / inline-size;
	position: relative;
	z-index: 10;
	margin-top: 59px;
	width: calc(100% - 320px);
	max-width: 1280px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	background-color: #fff;
	padding: 80px 80px 79px 80px;
	border-radius: 24px;
}

.homepage-img-top {
	width: 50px;
	flex-shrink: 0;
	align-self: start;
}

.homepage-text-sunt-foarte {
	text-align: left;
	color: #000;
	line-height: 1.6;
}

.homepage-row-bottom {
	margin-top: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.homepage-row-left {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.homepage-isolation {
	width: 71px;
}

.homepage-col-right {
	margin-top: 6px;
	width: 300px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex-shrink: 0;
}

.homepage-text-larisa {
	text-align: left;
}

.homepage-text1 {
	color: #000;
}

.homepage-row-right {
	display: flex;
	align-items: center;
	gap: 32px;
}

.homepage-circle-left,
.homepage-circle-right {
	position: relative;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	background: linear-gradient(180deg, #f00 0%, #c80000 99%) top left / auto auto no-repeat;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: opacity 0.3s;
}

.homepage-circle-left:hover,
.homepage-circle-right:hover {
	opacity: 0.8;
}

.homepage-img-arrow {
	width: 19px;
}

.homepage-circle-left .homepage-img-arrow {
	rotate: 180deg;
}

.row5 {
	z-index: 6;
	margin-top: 113px;
	gap: 327px;
}

.row5 .row-col3 {
	margin-bottom: -12px;
	width: 537px;
}

.row5 .row-top2 {
	padding-right: 40px;
}

.row5 .btn3 {
	padding-left: 58px;
	padding-right: 58px;
}

.homepage-row3 {
	position: relative;
	z-index: 5;
	margin-top: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 64px;
	max-width: 1280px;
	width: 100%;
}

.isd-slider-container {
	position: relative;
	width: 540px;
	height: 540px;
	overflow: hidden;
	border-radius: 24px;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
}

.img-before {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.img-after {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	overflow: hidden;
	border-right: 2px solid white;
}

.img-after img {
	display: block;
	width: 540px;
	height: 540px;
	object-fit: cover;
}

.isd-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: white;
	cursor: ew-resize;
	z-index: 10;
}

.isd-handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23ff0000" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8L22 12L18 16"/><path d="M6 8L2 12L6 16"/></svg>');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px;
}

.row6 {
	z-index: 3;
	width: calc(100% - 320px);
	gap: 128px;
}

.row6 .row-col2 {
	margin-bottom: -3px;
}

.row6 .row-top1 {
	padding-right: 142px;
}

.row6 .btn2 {
	padding-left: 35px;
	padding-right: 35px;
}

.homepage-row4 {
	margin-top: 72px;
	display: flex;
	align-items: flex-start;
	gap: 32px;
	color: #ed2390;
}



.card {
	position: relative;
	width: 352px;
	min-height: 448px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 54px;
	flex-shrink: 0;
	background-color: #fff;
	padding: 24px;
	border-radius: 24px;
	overflow: hidden;
}

.card-mask-group {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 260px;
	object-fit: cover;
	object-position: center top;
}

/* Gradient alb care acoperă tranziția poză → text */
.card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 55%;
	background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1) 20%);
	z-index: 0;
}

.card-text-post {
	color: #000;
	font-size: 19px;
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0px;
	text-align: left;
	position: relative;
	z-index: 1;
	/* Limiteaza titlul la max 3 randuri */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-row-bottom {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	align-self: start;
	position: relative;
	z-index: 1;
}

.card-text-citeste-mai {
	text-align: center;
}

/* end card*/


.card3 {
	gap: 84px;
}

.homepage-row5 {
	position: relative;
	z-index: 3;
	margin-top: 112px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 41px;
	align-self: stretch;
	background-color: #1b1b1b;
	padding: 40px 24px;
}

.homepage-img {
	flex-shrink: 0;
}

.homepage-biol-big1 {
	margin-left: -5px;
	width: 187px;
}

.homepage-bdr-brand {
	margin-left: 2px;
	width: 168px;
}

.homepage-biol-big2 {
	margin-left: 2px;
	width: 162px;
}

.homepage-3shape-logo {
	margin-left: 4px;
	width: 167px;
}

.homepage-bicon {
	width: 104px;
}

.homepage-bredent {
	margin-left: 2px;
	width: 123px;
}




/** breakpoints (margin / paddings) **/

@media screen and (max-width: 1280px) {
	.homepage-mesh {
		padding-inline: var(--margin-sm);
	}

	.homepage-circle4 {
		margin-inline: 0;
	}

	.homepage-circle5 {
		margin-inline: 0;
	}

	.header {
		padding-inline: var(--margin-sm);
	}

	.homepage-row1 {
		padding-inline: var(--margin-md);
	}

	.homepage-our-vision-your {
		padding-inline: var(--margin-md);
	}

	.card1 {
		padding-inline: var(--margin-sm);
	}

	.column {
		padding-inline: 0;
	}

	.col1 {
		padding-inline: 0;
	}

	.homepage-col3 {
		padding-inline: var(--margin-md);
	}

	.homepage-group-left {
		padding-inline: 0;
	}

	.homepage-group-right {
		padding-inline: 0;
	}

	.card {
		padding-inline: var(--margin-sm);
	}

	.homepage-row5 {
		padding-inline: var(--margin-sm);
	}
}

@media screen and (max-width: 576px) {
	.homepage-row1 {
		padding-inline: var(--margin-sm);
	}

	.homepage-our-vision-your {
		padding-inline: var(--margin-sm);
	}

	.homepage-col3 {
		padding-inline: var(--margin-sm);
	}
}



/* container queries (flex rows) */

@container homepage (width < 1122px) {
	.row-d {
		margin-left: 0;
		flex-direction: column;
		align-items: center;
		gap: 19px;
	}

	.row-d>* {
		text-align: center;
	}

	.row-d .row-top1 {
		align-self: center;
	}

	.row-d>.row-col2 {
		width: 100%;
		align-items: center;
	}

	.row-d>.row-col2>* {
		text-align: unset;
	}
}

@container homepage (width < 1119px) {
	.row-e {
		flex-direction: column;
		align-items: center;
		gap: 19px;
	}

	.row-e>* {
		text-align: center;
	}

	.row-e .row-top2 {
		align-self: center;
	}

	.row-e>.row-col3 {
		width: 100%;
		max-width: 640px;
		align-items: center;
	}

	.row-e>.row-col3>* {
		text-align: unset;
	}
}

@container homepage-group1 (width < 1167px) {
	.header {
		flex-direction: column;
		align-items: center;
		gap: 14px;
	}

	.header>* {
		margin-left: unset !important;
		margin-top: unset !important;
		text-align: center;
	}

	.header .header-group3 {
		align-self: center;
	}

	.header>.header-col {
		align-items: center;
	}
}

@container header (width < 750px) {
	.header-row {
		margin-left: 0;
		flex-direction: column;
		align-items: center;
		gap: 13px;
	}

	.header>* {
		margin-left: 0;
		margin-right: 0;
	}

	.header-row>* {
		margin-top: unset !important;
		text-align: center;
	}

	.header-row>.header-stomatologie {
		align-items: center;
	}
}

@container homepage-group1 (width < 1119px) {
	.homepage-row1 {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.homepage-row1>* {
		margin-top: unset !important;
		text-align: center;
	}
}

@container homepage (width < 1120px) {
	.homepage-row2 {
		flex-direction: column;
		align-items: flex-start;
		gap: 33px;
	}

	.homepage-row2>* {
		margin-top: unset !important;
	}

	.homepage-row2>.col1 {
		width: 100%;
		max-width: 352px;
	}

	.homepage-row2>.col2 {
		width: 100%;
		max-width: 352px;
	}

	.homepage-row2>.col3 {
		width: 100%;
		max-width: 352px;
	}
}

@container homepage-col3 (width < 299px) {
	.homepage-row-bottom {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.homepage-row-bottom>* {
		margin-top: unset !important;
		text-align: center;
	}
}

@container homepage (width < 1119px) {
	.homepage-row3 {
		flex-direction: column;
		align-items: center;
		gap: 43px;
	}
}

@container homepage (width < 1119px) {
	.homepage-row4 {
		flex-direction: column;
		align-items: center;
		gap: 67px;
	}

	.homepage-row4 .card-row-bottom {
		align-self: center;
	}

	.homepage-row4>.card2 {
		width: 100%;
		max-width: 352px;
		align-items: center;
	}

	.homepage-row4>.card2>* {
		text-align: unset;
	}

	.homepage-row4 .card-row-bottom {
		align-self: center;
	}

	.homepage-row4>.card3 {
		width: 100%;
		max-width: 352px;
		align-items: center;
	}

	.homepage-row4>.card3>* {
		text-align: unset;
	}

	.homepage-row4 .card-row-bottom {
		align-self: center;
	}

	.homepage-row4>.card4 {
		width: 100%;
		max-width: 352px;
		align-items: center;
	}

	.homepage-row4>.card4>* {
		text-align: unset;
	}
}

@container homepage (width < 1178px) {
	.homepage-row5 {
		flex-direction: column;
		align-items: center;
		gap: 14px;
	}

	.homepage-row5>* {
		margin-left: unset !important;
	}
}