*,*:before,*:after{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
:root{
	--shift: 10px;
}
body{

}
svg{
	flex-shrink: 0;
}
html {
  font-size: 62.5%; 
}
h1,h2,h3,h4,h5,h6{
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	color: #09451E;
}
p{
	font-family: "Inter", sans-serif;
 	font-optical-sizing: auto;
	font-style: normal;
	font-size: 1.25rem;
	color: #09451E;
}
a{
	text-decoration: none;
}
.container{
	width: 100%;
	max-width: 1140px;
	margin: 30px auto;
}
.tab{
	display: inline-block;
}
.text{
	font-family: "Inter", sans-serif;
 	font-optical-sizing: auto;
	font-style: normal;
}
header{
	display: flex;
	height: 500px;
	max-height: 500px;
	padding-left: 80px;
	border-radius: 20px;
	background: #ccfbd5;
	position: relative;
}
header h1{
	font-size: 6.4rem;
}
header span{
	color: #09451E;
}
header .box{
	width: 508px;
	height: 342px;
	margin-top: 100px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
}
header .box p{
	display: block;
	font-size: 1.6rem;
	color:#2ED775;
}
header .box p .tab{
	width: 3rem;
}
.btn{
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	width: 180px;
	height: 52px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #09451E;
	font-size: 1.5rem;
	color: #2ED775;
	cursor: pointer;
}
header #logo{
	width: 120px;
}
.type-a{
	display: flex;
	margin-top: 80px;
	padding-left: 80px;
}
.type-a .box{
	width: 750px;
	height: auto;
}
.type-a .box p{
	font-size: 2.4rem;
	font-weight: bold;
}
.type-a .box p .tab{
	width: 6rem;
}
.type-b{
	max-width: 950px;
	height: auto;
	margin: 150px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}
.slider{
	width: 280px;
	aspect-ratio: 0.7;
	position: relative;
}
.slide{
	width: 100%;
	height: 100%;
	border-radius: 15px;
	transition: 0.5s ease;
	transform-origin: left bottom;
		display: flex;
	align-items: center;
	justify-content: center;
}
.slide:nth-child(1n){
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	background: #9DCEA9;
}
.slide:nth-child(2n){
	position: absolute;
	top: 3.6%;
	left: var(--shift);
	z-index: 2;
	width: calc(100% - var(--shift) * 2);
	background: #FEA068;
}
.slide:nth-child(3n){
	position: absolute;
	top: 7%;
	left: calc(2* var(--shift));
	z-index: 1;
	width: calc(100% - var(--shift) * 4);
	background: #B7C1FB;
}
.text-slider {
						width: 100%;
						max-width: 65%;
            position: relative;
            min-height: 200px; /* Задайте высоту под ваш дизайн, чтобы контент не прыгал */
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        /* Базовые стили для слайдов */
        .text-slide {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            margin: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            /* Переход для скрытия слайда (тоже плавный) */
            transition: opacity 0.75s ease, transform 0.75s ease, visibility 0.75s;
        }

        /* Класс для активного слайда с анимацией 750мс */
        .text-slide.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            /* Анимация появления */
            animation: slideIn 0.75s ease forwards;
        }

        /* Ключевые кадры для анимации появления */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
.type-b .text-slider p{
	width: 100%;
	height: auto;
	font-size: 2.2rem;
	font-weight: 600;
}
.type-c{
	width: 800px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}
.type-c .box{
	width: 50%;
	min-width: 240px;
	padding: 15px;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
}
.type-c .box h3{
	width: 55%;
	font-size: 1.5rem;
	font-weight: bold;
}
.type-c .box p{
	font-size: 1.8rem;
	font-weight: regular;
}
.type-d{
	width: 100%;
	max-width: 1400px;
	height: 480px;
	margin: 100px auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.type-d h1{
	font-size: 3rem;
	text-align: center;
}
.type-d .wrapper{
	width: 100%;
	display: flex;
	justify-content: space-around;	
}
.type-d .wrapper .box{
	width: 310px;
	height: 400px;
	flex-grow: 0;
	padding: 25px 25px 13px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #CCFBD5;
	border-radius: 20px;
}
.type-d .wrapper .box .top-group{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
}
.type-d .wrapper .box .top-group h3{
	text-align: center;
	font-size: 2rem;
}
.type-d .wrapper .box .top-group p{
	font-size: 1.6rem;
}
.type-d .wrapper h3{
	font-size: 2rem;
}
.type-d .wrapper h2{
	font-size: 4rem;
	color: #6F9F78;
	text-align: left;
}
.type-e{ 
	/*border: 1px solid grey;
	border-radius: 20px;*/

}
.type-e h3{
	text-align: center;
	font-size: 2rem;
	margin: 40px auto 20px;
}
.type-f h3{
	text-align: center;
	font-size: 2rem;
	margin: 40px auto 20px;
}
	.type-e .text p{
		font-size: 1.8rem;
		display: list-item;
  	list-style-type: disc;
  	margin-left: 20px;	
}
	.type-f .text p{
		font-size: 1.8rem;
		display: list-item;
  	list-style-type: disc;
  	margin-left: 20px;
}
footer{
	display: flex;
	align-items: center;
	justify-content: space-around;
	height: 350px;
	border: 2px #E9E9E9 solid;
	border-radius: 20px;
	padding: 20px;
}
footer .box{
	width: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}
footer .box:nth-child(1) img{
	width: 150px;
}
footer .box p{
	font-size: 1.6rem;
	width: 300px;
}
@media (max-width: 1400px){
	header{
		width: 100%;
		max-width: 1200px;
		margin: 30px 50px;
	}
	.type-d h1{
		font-size: 2.5rem;
	}
	.type-d .wrapper .box{
		width: 310px;
	}
}
@media (max-width: 1200px){
	.container{
		width: 100%;
		max-width: calc(100% - 60px);
		margin-left: 30px;
		margin-right: 30px;
	}
	.type-c{
		width: 600px;
		margin-left: auto;
		margin-right: auto;
	}
	.type-d{
		height: auto;
		gap: 50px;
	}
	.type-d .wrapper{
		flex-wrap: wrap;
		gap: 30px;
	}
}
@media (max-width: 1024px){
	
}
@media (max-width: 992px){
	header{
		display: flex;
		height: 400px;
		max-height: 400px;
		padding-left: 60px;
	}
	header h1{
		font-size: 5.4rem;
	}
	header .box{
		width: 458px;
		height: 342px;
		margin-top: 40px;
	}
	.btn{
		width: 150px;
	}
	header #logo{
		width: 100px;
	}
	.type-a{
		display: flex;
		margin-top: 50px;
		padding-left: 60px;
	}
	.type-a .box p{
		font-size: 2rem;
	}
	.type-b{
		max-width: 500px;
		width: 100%;
		margin: 100px auto;
		justify-content: space-between;
	}
	.type-b .box p{
		width: 100%;
		font-size: 1.5rem;
		font-weight: bold;
	}
	.slider{
		width: 200px;
	}
	.type-d .wrapper{
		justify-content: center;
	}
	footer{
		height: auto;
		padding: 0 50px;
		gap: 35px;
	}
	footer .box{
		width: 100%;
	}
	footer .box p{
		font-size: 1.6rem;
	}
}
@media (max-width: 768px){
	header h1{
		font-size: 4rem;
	}
	footer{
		flex-wrap: wrap;
		height: auto;
		padding: 20px;
	}
}
@media (max-width: 567px){
	.container{
		width: calc(100% - 36px);
		max-width: none;
		margin: 15px auto;
	}
	header{
		height: 420px;
		padding-left: 50px;
	}
	header h1{
		font-size: 3rem;
	}
	header .box{
		width: 350px;
		height: 300px;
		margin-top: 50px;
	}
	header .box p{
		font-size: 1.4rem;
	}
	header .box p .tab{
		width: 3rem;
	}
	.btn{
		width: 150px;
		height: 40px;
		border-radius: 12px;
		font-size: 1.2rem;
	}
	header #logo{
		width: 100px;
	}
	.type-a{
		height: auto;
		display: flex;
		margin-top: 50px;
		padding-left: 50px;
	}
	.type-a .box{
		height: auto;
	}
	.type-a .box p{
		font-size: 1.6rem;
	}
	.type-b{
		margin: 80px auto;
		width: calc(100% - 36px);
		height: auto;
		padding: 15px;
		flex-wrap: wrap;
		gap: 50px;
		justify-content: center;
	}
	.type-b .slider{
		min-width: 150px;
	}
	.type-b .box p{
		font-size: 1.6rem;
	}
	.type-c{
		width: calc(100% - 36px);
	}
	.type-c .box:nth-child(1){
		margin-top: 0;
	}
	.type-c .box{
		width: 100%;
		margin-top: 50px;
	}
	.type-d{
		width: calc(100% - 36px);
		margin: 70px auto;
		gap: 40px;
	}
	.type-d h1{
		font-size: 2rem;
	}
	.type-d .wrapper{
		gap: 12px;
	}
	.type-d .wrapper .box{
		width: 240px;
		height: auto;
		gap: 12px;
		padding: 10px 10px 13px;
	}
	.type-d .wrapper .box .top-group h3{;
		font-size: 1.8rem;
	}
	.type-d .wrapper .box .top-group p{
		font-size: 1.4rem;
	}
	.type-d .wrapper h3{
		font-size: 1.8rem;
	}
	.type-d .wrapper h2{
		font-size: 3rem;
	}
	footer{
		height: auto;
		padding: 50px;
	}
	footer .box: p{
		font-size: 1.4rem;
	}
}

@media (max-width: 480px){
	.container{
		width: calc(100% - 36px);
		max-width: 100%;
		margin: 15px auto;
	}
	header{
		height: 400px;
		padding-left: 30px;
	}
	header h1{
		font-size: 2.5rem;
	}
	header .box p{
		font-size: 1.4rem;
	}
	header .box p .tab{
		width: 3rem;
	}
	.btn{
		width: 150px;
		height: 40px;
		border-radius: 12px;
		font-size: 1.2rem;
	}
	header #logo{
		width: 100px;
	}
	.type-a{
		margin-top: 30px;
		padding-left: 30px;
	}
	.type-a .box{
		width: 100%;
		height: auto;
	}
	.type-a .box p{
		font-size: 1.5rem;
	}
	.type-a .box p .tab{
		width: 2.5rem;
	}
	.type-b{
		width: calc(100% - 20px);
		padding: 0px;
		margin: 40px 10px 10px;
		flex-wrap: wrap;
		gap: 40px;
		justify-content: center;
	}
	.type-b .slider{
		min-width: 135px;
		max-width: 135px;
	}
	.type-b .text-slider{
		max-width: 100%;
	}
	.type-c{
		margin: 40px auto;
	}
	.type-c .box{
		padding: 0;
		padding-left: 40px;
		width: 100%;
	}
	.type-d{
		margin: 20px auto;
		gap: 20px;
	}
	.type-d h1{
		font-size: 2.2rem;
	}
	.type-d .wrapper .box{
		gap: 40px;
	}
	footer{
		height: auto;
		border-radius: 20px;
		padding: 15px;
	}
	footer .box p{
		width: auto;
		font-size: 1.4rem;
	}
}

@media (max-width: 320px){
.container{
	width: calc(100% - 24px);
	max-width: none;
	margin: 10px auto;
}
header{
	height: 400px;
	max-height: 500px;
	width: calc(100% - 24px);
	margin: 12px auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
header h1{
	font-size: 2rem;
	text-align: center;
}
header .box{
	width: calc(100% - 30px);
	height: 340px;
	margin: 0;
}
header .box p{
	display: block;
	font-size: 1.5rem;
}
header .box p .tab{
	width: 3rem;
}
header #logo{
	width: 100px;
}
.type-a .box{
	width: 100%;
	height: auto;
}
.type-a .box p{
	font-size: 1.6rem;
}
.type-a .box p .tab{
	width: 3rem;
}
	.type-b .slider{
		min-width: 100px;
		max-width: 100px;
	}
	.type-b .text-slider{
		max-width: 100%;
		min-height: 250px;
	}
	.type-b .text-slider p{
		font-size: 1.6rem;
	}
	.type-c{
		margin: 40px auto;
		padding: 0;
	}
	.type-c .box{
		padding: 0;
		padding-left: 0;
	}
	.type-d{
		width: 100%;
		margin: 20px auto;
		gap: 20px;
	}
	.type-e h3{
		font-size: 1.8rem;
		margin: 40px auto 20px;
	}
	.type-f h3{
		font-size: 1.8rem;
		margin: 40px auto 20px;
	}
	.type-e .text p{
		font-size: 1.6rem;
}
	.type-f .text p{
		font-size: 1.6rem;
}
}