/* box sizing */before
*,
*::before,
*::after {
	box-sizing: border-box;

}
/*  main */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
	padding: 0;
}
/* default settings for body */
body {
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
}

/* removing ul and il, which has class*/
ul[class],
ol[class] {
	list-style: none;
}

/* default style for a with no class */
a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* images */
img {
	display: block;
}
.circle__img--top {
	position: absolute;
	top: 0;
	left: 0;
	height: 290px;
	z-index: 1;
  }
  
.circle__img--bottom {
	position: absolute;
	bottom: 0;
	right: 0;
	height: 290px;
	z-index: 1;
}

.body-wrapper{
	position: relative;
	z-index: 10;
}

/* article */
article > * + * {
	margin-top: 1em;
}

/* fonts for input and button */
input,
button,
textarea,
select {
	font: inherit;
}
input,
button {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	&:active {
		outline: none !important;
		-webkit-tap-highlight-color: transparent;
	}
}
button,
a {
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	background-color: transparent;
	cursor: pointer;
}
iframe {
	border: none;
}
svg,
img {
	max-width: 100%;
}
a {
	text-decoration: none;
	color: inherit;
	&:active {
		outline: none !important;
		-webkit-tap-highlight-color: transparent;
	}
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type="number"] {
	-moz-appearance: textfield;
}


html{
	font-family: 'Inter', sans-serif;
	height: 100%;
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
	line-height: 1.2;
	font-weight: 400;
	color: #000;
}
body {
	height: 100%;
	margin: 0;
	padding: 0;
}
main{
	position: relative;
	padding: 40px 0;
	@media screen and (max-width: 479px) {
		padding: 20px 0;
	}
}
._container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1920px;
    width: 100%;
	@media screen and (max-width: 620px){
		padding: 0 10px;
	}
}
.section-wrapper{
	display: flex;
	flex-direction: column;
	gap: 50px;
	@media screen and (max-width: 479px) {
		gap: 30px;
	}
}
.go-back{
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	position: fixed;
	z-index: 999;
	cursor: pointer;
	width: fit-content;
	& img{
		width: 20px;
	}
	& span{
		line-height: 1;
	}
	@media screen and (max-width: 479px) {
		& img{
			width: 16px;
		}
	}
}
/*   main   */
.subtitle{
	font-size: 40px;
	font-weight: 500;
	color: #037196;
	margin: 20px 0;
	text-align: center;
	@media screen and (max-width: 991px){
		font-size: 32px;
	}
}

.flex-col-20{
	display: flex;
	flex-direction: column;
	gap: 20px;
}
/*    BUTTON    */
.button{
	font-size: 24px;
	padding: 23px;
	min-width: 265px;
	width: fit-content;
	color: white;
	background: rgba(122, 203, 193, 1);
	box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
	text-align: center;
	border-radius: 50px;
}
@media screen and (max-width: 991px) {
	.button{
		padding: 18px;
		font-size: 18px;
		min-width: 200px;
	}
}

/*    doctor info    */
.doc-info{
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.5);
	padding: 30px;
	border-radius: 40px;
	display: flex;
	align-items: flex-start;
	gap: 150px;
	position: relative;
	z-index: 5;
	background: white;
}
.doc-info-img{
	border-radius: 40px;
	overflow: hidden;
	aspect-ratio: auto 1920 / 1280;
	max-width: 900px;
	width: 100%;
	flex-shrink: 0;
	object-fit: cover;
}
.doc-info-right-part{
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}
.doc-info-name{
	font-size: 60px;
	font-weight: 400;
	color: #037196;
}
.doc-info-item{
	display: flex;
	flex-direction: column;
	gap: 25px;
	& span {
		font-size: 30px;
		color: rgba(143, 140, 140, 1);
	}
	& p {
		font-size: 24px;
	}
}

@media screen and (max-width: 1540px) {
	.doc-info{
		gap: 80px;
	}
	.doc-info-name{
		font-size: 48px;
	}
	.doc-info-img{
		max-width: 380px;
	}
}
@media screen and (max-width: 1200px) {
	.doc-info{
		gap: 60px;
	}
	.doc-info-name{
		font-size: 38px;
	}
	.doc-info-img{
		max-width: 320px;
	}
	.doc-info-item{
		gap: 30px;
		& span {
			font-size: 24px;
			color: rgba(143, 140, 140, 1);
		}
		& p {
			font-size: 18px;
		}
	}
}
@media screen and (max-width: 991px) {
	.doc-info{
		gap: 20px;
		flex-direction: column;
		padding: 16px;
		border-radius: 24px;
	}
	.doc-info-img{
		max-width: 200px;
		border-radius: 12px;
	}
}
@media screen and (max-width: 479px) {
	.doc-info-name{
		font-size: 28px;
		font-weight: 500;
	}
	.doc-info-right-part{
		gap: 16px;
	}
	.doc-info-item{
		gap: 6px;
		& span {
			font-size: 20px;
			color: rgba(143, 140, 140, 1);
		}
		& p {
			font-size: 16px;
		}
	}

}



/*   text info   */
.text-info-wrapper{
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.text-info{
	font-size: 24px;
	text-align: center;
	line-height: 1.5;
	@media screen and (max-width: 1200px) {
		font-size: 18px;
	}
	@media screen and (max-width: 479px) {
		font-size: 16px;
	}
}
.text-info-big{
	font-size: 30px;
	text-align: center;
	line-height: 1.5;
	@media screen and (max-width: 1200px) {
		font-size: 24px;
	}
	@media screen and (max-width: 479px) {
		font-size: 20px;
	}
}




/* slider */
.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    object-position: center;
}

.work-img-before {
    transition: clip-path 0s;
}

.work-img-after {
    clip-path: polygon(var(--position, 50%) 0, 100% 0, 100% 100%, var(--position, 50%) 100%);
    transition: clip-path 0s;
}
.work-img-before,
.work-img-after {
    width: 100%; 
    height: auto; 
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.slider:focus-visible ~ .slider-button {
    outline: 5px solid black;
    outline-offset: 3px;
}

.slider-line {
    position: absolute;
    width: 0.2rem;
    height: 100%;
    background-color: white;
    z-index: 100;
    left: var(--position, 50%);
    transform: translateX(-50%);
	pointer-events: none;
}

.slider-button {
    position: absolute;
    background-color: white;
    color: black;
    padding: 0.5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position, 50%);
    transform: translate(-50%, -50%);
    z-index: 200;
	pointer-events: none;
}



/* works */
.works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 600px)); /* Set a range for column width */
    gap: 30px; /* Increase gap between items */
    justify-content: center; /* Center items if there's extra space */
}



.work-item {
    position: relative;
    aspect-ratio: 6/4; 
    padding: 20px;
    background: white;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.5);
    overflow: hidden;
	background-color: white;
}






@media screen and (max-width: 1200px) {
    .works {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust for medium screens */
        gap: 20px; /* Adjust gap */
    }

    .work-item {
        padding: 20px; /* Adjust padding */
        aspect-ratio: auto; /* Maintain taller aspect ratio */
    }
}

@media screen and (max-width: 620px) {
    .works {
        grid-template-columns: 1fr; /* Single column for small screens */
    }

    .work-item {
        padding: 20px; /* Adjust padding */
        aspect-ratio: auto; /* Adjust aspect ratio for smaller screens */
    }
}




*,
*::after,
*::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}