@import url("areas_of_consultation.css");
@import url("itc-slider.css");

:root {

									/* ===== COLOURS ===== */
	
	--body-color:  #ffffff;
	--background_color: #E7F1FC;
	--first_color: #0054A8;
	--first_color_hover: #A2D5F6;
	--second_color: #E9F3FD;
	--second_color_hover: #FFED48;
	--first_text_color:  #181C21;
	--second_text_color:  #ffffff;

									/* ===== FONTS ===== */

	--font-Comfortaa: 'Comfortaa', sans-serif;
	--font-Jost: 'Jost', sans-serif;
	--font-Inter: 'Inter', sans-serif;

	

									/* ===== SIZES ===== */

	/* --container-max-width: 1350px;*/

} 



main {
	padding-top: 37px;
}

.item__description {
	display: flex;
	align-items: center;
	width: 60.5%;
	left: 0;
	height: 55px;
}

.header {
	justify-content: space-between;
}


										/* ===== BANNER ===== */

.banner__flow {
	position: relative;
	display: flex;
	justify-content: space-between;

	background-image: url(../img/home/banner_background.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 32px;
	width: 100%;
	padding: 0 25px;
	margin-bottom: 37px;
}

.banner__flow>* {
	z-index: 2;
}

.banner__flow::before {
	content: "";
	position: absolute;
	border-radius: 32px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(6.5px);
	z-index: 1;
}

.banner__btn {
	display: flex;
	gap: 32px;
}

.banner__btn .text {
	max-width: 240px;

	line-height: 104%;
}

.banner__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 40px 0;
	flex-shrink: 1;
}

.banner__content .text {
	max-width: 250px;
}

.banner .main-title {
	color: var(--first_color);
	max-width: 399px;
}

.banner__photo {
	max-width: 495px;
	width: 100%;
	align-self: flex-end;
    flex-shrink: 2;
    height: 100%;
}

.banner__photo img {
	width: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	max-width: 495px;

	
}

.schedule {
	display: flex;
	gap: 13px;
	padding: 30px 15px;
	flex-shrink: 0;
}

.schedule svg {
	width: 38px;
	height: 38px;
}

.schedule__days {
	display: flex;
	flex-direction: column;
	row-gap: 3px;
	max-width: 240px;

} 

.schedule .day {
	display: flex;
	gap: 13px;
	justify-content: space-between;

} 




									/* ===== ADVANTAGES ===== */

.advantages__flow {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: space-around;
}

.advantages__item:not(:nth-child(2)) {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex: 1 0;
	gap: 100px;
}

.advantages__item:first-child {
	flex-basis: 100%;
	max-width: 314px;
	max-height: 618px;
}

.advantages__item:nth-child(2) {
	max-width: 537px;
	max-height: 619px;
	border-radius: 38px;
	background-color: #FFED48;
	flex: 0 0 100%;
	overflow: hidden;
}

.advantages__item:nth-child(3) {
	flex-basis: 30%;
	/* max-width: 427px; */
} 

.advantages__item:nth-child(2) img {
	width: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.advantages .main-title {
	margin-bottom: 30px;
}

.info {
	max-width: 406px;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.advantages__header .subtitle {
	font-size: 22px;
	margin-bottom: 10px;	
}


									/* ===== AREAS OF CONSULTATION ===== */

/* imported */

									/* ===== APPOINTMENT ===== */
.appointment__flow {
	position: relative;  
	padding: 0 66px; 
	display: flex; 
	justify-content: space-between; 
	align-items: flex-end;
	flex-wrap: wrap;
}

.appointment__flow::before {
	content: "";
	position: absolute;
	background-color: var(--first_color_hover);
	border-radius: 38px;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 230px;
	z-index: -1;

}

.appointment__img::before {
	content: "";
	position: absolute;
	background-color: var(--first_color_hover);
	border-radius: 38px;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 57%;
	max-height: 230px;
	z-index: -2;

}

.appointment__content {
	padding: 44px 0;
	max-width: 480px;
}

.appointment__content .title {
	margin-bottom: 29px;
}

.appointment__img img {
	display: block;
	object-fit: cover;
	object-position: center;
	width: 100%;
	max-width: 399px;
}

.appointment__img {
	position: relative;
}


  									/* ===== ULTRASOUND ===== */

.ultrasound {
	margin-bottom: 80px;
}

.ultrasound__flow {
	column-gap: 12px;
	row-gap: 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	column-gap: 40px;
}

.ultrasound__item{
	position: relative;
	max-width: 426px;
	aspect-ratio: 1.291;
	flex-basis: 426px;
	border: none;
	border-radius: 32px 32px 32px 0;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.ultrasound__item:first-child {
	background-image: url(../img/home/ultrasound_pregnant.png);
}

.ultrasound__item:last-child {
	background-image: url(../img/home/ultrasound_general.png);
}

.ultrasound .item__description .subtitle {
	margin-left:27px;
}


									/* ===== RESEARCH ===== */


.research__flow {
	column-gap: 78px;
	row-gap: 32px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.research__item{
	position: relative;
	max-width: 315px;
	height: 297px;
	flex-basis: 315px;
	border: none;
	border-radius: 32px;
	background-image: url(../img/home/research_background.png);
}

.research__item::before {
	position: absolute;
	top: 24%;
	left: 50%;
	transform: translate(-50%);
}

.research__item:first-child::before {
	content: url(../img/home/research_general.png);
}

.research__item:nth-child(2)::before  {
	content: url(../img/home/research_micro.png);
}

.research__item:nth-child(3)::before  {
	content: url(../img/home/research_cyto.png);
}

.research__item:nth-child(4)::before  {
	content: url(../img/home/research_infection.png);
}

.research__item:nth-child(5)::before  {
	content: url(../img/home/research_bacteria.png);
}

.research__item:nth-child(6)::before  {
	content: url(../img/home/research_comprehensive.png);
}

.research__item:nth-child(7)::before  {
	content: url(../img/home/research_perinatal.png);
}

.research__item:nth-child(8)::before  {
	content: url(../img/home/research_hormons.png);
}

.research .subtitle {
	margin-left: 21px;
	position: relative;
}


									/* ===== SPECIALISTS ===== */

.slide {
	margin: 0 0 0 auto;
	padding-right: 0;
	padding-left: 60px;
	max-width: none;
}

.specialists .header .text {
	margin-bottom: 10px;
}

.specialists .itc-slider-items {
	gap: 23px;
}

.specialists .itc-slider-item {
	flex: 0 0 40%;
    max-width: 544px;
	aspect-ratio: 1.283;

}

.specialists .card-body {
	aspect-ratio: auto;
	background-image: url(../img/home/tile_doctor_background.png);
	overflow: hidden;
	align-items: flex-end; 
}

.specialists .card-body,
.specialists .card {
	height: 100%;
	max-width: none;
}



.specialists .card-body::before{

    content: "";
    position: absolute;
    border-radius: 32px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    z-index: 1;
}

.specialists .photo {
	position: absolute; 
	z-index: 2; 
	bottom: 0; 
	left: 0;
	/* width: 55%; */
	height: 80%;
}

.specialists .photo img {
	display: block;
	object-fit: cover;
	object-position: left;
	width: 100%;
	height: 100%;
}

.specialists .card-content {
	max-width: 286px;
	margin-left: auto;
	margin-top: 33px;
	align-items: flex-end;
	color: inherit;
}

.specialists .card-content>* {
	text-align: end;
	padding: 0;
	
}

.specialists .card .title {
	color: var(--first_color);
	width: 100%;
	text-transform: uppercase;
}

.specialists .card .text {
	white-space: pre-line;

}

.specialists .card .button-arrow-right {
	z-index: 2;
	margin-right: 10px;
}


									/* ===== MEETEING ===== */

.meeting__flow {
	display: flex;
	gap: 71px;
	flex-wrap: wrap;
	justify-content: space-around;
}

.meeting__item:not(:nth-child(2)) {
	display: flex;
	flex-direction: column;
	flex: 1 0;
	gap: 22px;
	min-width: 300px;
}

.meeting__item:nth-child(2) {
	display: flex;
	align-items: center;
	flex: 0 0 100%;
	max-width: 366px;
	overflow: hidden;	
	outline: 2px solid var(--second_text_color);
	outline-offset: -7px;
	border: 6px solid var(--first_text_color);
	border-radius: 44px;
}

.meeting__item:nth-child(2)::before {
	content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--first_text_color);
    width: 100px;
    height: 30px;
    border-radius: 15px;
	outline: 1px solid var(--second_text_color);
	outline-offset: -3px;

}

.meeting__item:nth-child(2) .itc-slider-wrapper {	
	position: relative;
	z-index: -1;
	

}
.meeting__item:nth-child(2) .itc-slider-item {
	flex: 0 0 100%;
	max-width: none;
}


.meeting__item:nth-child(3) {
	justify-content: center;
} 

.meeting__item:nth-child(2)  img {
	width: 100%;
	max-width: 366px;
	object-fit: cover;
	object-position: center center;
	display: block;

}

.meeting .social .icon {
	color: var(--first_color);
	fill: var(--second_color)
}

.meeting__item .icon {
	width: 40px;
	height: 40px;
	color: var(--first_color);
	fill: var(--body-color);
	

}

.meeting__item .subtitle {
	font-size: 24px;
	margin-bottom: 8px;
}



.question {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.question .icon {
	flex-shrink: 0;
}

.question:not(:last-child)  {
	margin-bottom: 32px;
}



									/* ===== MEDIA ===== */

@media screen and (max-width: 1250px) {
	.specialists .card .title {
		font-size: 26px;
	}

	.specialists .card .text {
		font-size: 18px;
	}
}


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


	.meeting__flow {
		gap: 38px;
	}

	.info {
		max-width: 90%;
		align-self: center;
	}

}

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

	section {
		margin-bottom: 60px;
	}
	
	.header {
		align-items: center;
		flex-direction: column;
	}

	

	.main-title {
		font-size: 32px;
		text-align: center;

	}

	.title {
		font-size: 24px;
		}

	.banner__content .text {
		white-space: nowrap;
	}		

	.banner__content .text,
	.schedule__days .text {
		font-size: initial;
		white-space: nowrap;
	}	

	.schedule svg {
		width: 24px;
		height: 24px;
	}


	.advantages__flow {
		flex-direction: column;
		align-items: center;
	}

	.advantages .main-title {
		margin-bottom: 0;
	}

	.advantages__item:first-child {
		max-width: 100%;
	}

	.advantages__item:not(:nth-child(2)) {
		gap: 0;
		
	}

	.appointment__flow {
			flex-direction: column;
			padding: 0;
			align-items: flex-start;
		}
	
	.appointment__flow::before {
		display: none;
	}

	.appointment__content {
		order: 2;
		padding-bottom: 0;
	}

	.appointment__img {
		padding: 0 45px 0 20px;
		width: 100%;	
	}

	.appointment__img img{
		margin: 0 auto;
	}

	.appointment .p-left {
		padding: 0 20px 0 45px;
	}

	.specialists .card .title {
		font-size: 20px;
	}

	.specialists .card .text {
		font-size: 16px;
	}

	.meeting {
		margin-bottom: 100px;
	}

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

	main {
		padding-top: 0;
	}

	.banner .container {
		padding: 0;
	}

	.banner__flow {
		background-image: none;
		flex-direction: column;
		align-items: center;
		padding: 0;
		margin: 0;
	}

	.banner__flow::before {
		display: none;
	}

	.banner__photo {
		max-width:initial;
		position: relative;

		background-image: url(../img/home/banner_background.png);
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		border-radius: 9px;
		padding: 0 25px;
	}

	.banner__photo::before {
		content: "";
		position: absolute;
		border-radius: 9px;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		backdrop-filter: blur(6.5px);
		z-index: 1;
	}

	.banner__photo img {
	z-index: 2;
	position: relative;
	width: 50%;
	margin: 0 auto;
	}

	.banner__content {
		row-gap: 15px;
		padding: 0px 15px 24px;
	}

	.banner .banner__content>* {
		max-width: 100%;
		text-align: center;
	}

	.banner__btn {
		gap: 16px;
		flex-wrap: wrap;
		padding: 0 15px;
	}

	.banner__btn .text {
		font-size: initial;
		max-width: 153px;
	}
	
	.appointment__img::before {
		border-radius: 24px;
	}

	.specialists .itc-slider-item {
		flex: 0 0 50%;
		max-width: calc(50% - 23px);
	}

	.specialists .card .button-arrow-right svg {
    width: 13px;
    height: 15px;	
	}

	 .specialists .card .button-arrow-right {   
		padding: 0px 7px;
		font-size: 12px;
		border-radius: 7.59px;
		width: 22px;
	}

}

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

	.specialists .itc-slider-item {
		flex: 0 0 70%;
		max-width: none;
	}

	.specialists .card .title {
		font-size: 26px;
	}

	.specialists .card .text {
		font-size: 18px;
	}

	.specialists .card-content {
		margin-top: 18px;
	}




	.meeting__item .header {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 650px) {
		.specialists .itc-slider-item {
		flex: 0 0 90%;
		max-width: none;
	}

	
}


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


	.specialists .card .title {
		font-size: 20px;
	}

	.specialists .card .text {
		font-size: 16px;
	}

	.slide {
		padding: 0 15px;
	}

		.specialists .itc-slider-item {
		flex: 0 0 100%;
		max-width: none;
	}

	.ultrasound .item__description .subtitle {
		margin: 0;
		font-size: 16px;
	}

}

