/* стилі обнулення */
*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}
a {
	text-decoration: none;
	color: inherit;
}
ul,
ol,
li {
	list-style: none;
}
img {
	vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: inherit;
	font-size: inherit;
}
html,
body {
	height: 100%;
	line-height: 1;
}
textarea,
button,
input {
	font-weight: inherit;
	font-size: inherit;
	color: inherit;
	font-family: inherit;
}
button {
	cursor: pointer;
	background-color: inherit;
}

/* загальні стилі */
body{
    background-color: #5ce1e6;
    font-family: "Poppins", "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color:rgba(75, 76, 76, 0.521);
}
/*-----------------------*/
.wrapper{
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: clip;
}
.page{
    flex: 1 1 auto;
    padding-top: 85px;
    }
    
    @media(max-width: 500px){
        .page{
            padding-top: 73px;
        }
    }
    /* звернення до всіх класів які мають в назві "__container" селектор*/
    [class*="__container"]{
        max-width: 1280px; /* ширина полотна на ПК*/
        margin: 0px auto;
        padding: 0px 15px;
    }

/* стилі кнопок та іконок */ 
.title{
    font-weight: 700;
font-size: 64px;
line-height: 1.2;
color: #1A2E44;
}

@media(max-width: 991.98px){
    .title{
        font-size: 52px;
    }
}
@media(max-width: 767.98px){
    .title{
        font-size: 45px;
    }
}

.button{
text-align: center;
font-weight: 700;
font-size: 18px;
line-height: 1.5;
padding: 10px 32px;
color: #EEEEEE;
background-color: #1A2E44;
border-radius: 24px;
transition: background-color 0.3s ease 0s;
display: inline-block;
white-space: nowrap; /* Запобігає перенесенню тексту кнопок */
margin-right: 15px; /* Відступ між кнопками */
}

.button:last-child {
    margin-right: 0; /* Прибирає відступ для останньої кнопки */
}
.button:hover{
    background: rgba(29, 20, 31, 0.75);
}

.button.active{
    background-color: #151515;
}


/* головна*/
.block-text{

}
.block-text_center{
    text-align: center;
}
.block-text__title{
    font-weight: 700;
    font-size: 44px;
    line-height: 126%;
    color: #1A2E44;
}
.block-text__title:not(:last-child){   
    margin: 0px 0px 15px 0px;
}

.block-text__text{
    line-height: 138.5%;
    color: #333333;
}

.block-text__text:not(:last-child){
    margin: 0px 0px 24px 0px;
}

@media(max-width: 767.98px){
    .block-text__title{
    font-size: 34px;
    }
}

/*-------------- Main ---------------*/
.center__container{
    padding-top: 100px;
    padding-bottom: 70px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}
.center__content{
    flex: 0  1 50%;
    padding: 0px 20px;
}
.center__block-text{
    max-width: 490px;
}
.buttons{
    padding-top: 20px;
}

.center__image{
    flex: 0  1 50%;
}
.center__image img{
    max-width: 100%;
}

@media(max-width: 991.98px){
    .center__container{
        padding-top: 90px;
        padding-bottom: 65px;
        flex-direction: column;
        text-align: center;
    }
    .center__content {
        flex: 1 1 100%;
        padding: 0;
    }
    .center__block-text {
        max-width: none;
        width: 100%;
        margin: 0 auto; /* Центрування блоку */
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрування вмісту всередині */
    }
    .block-text__text {
        margin: 0 auto 10px; /* Центрування тексту з відступом знизу */
        max-width: 90%; 
    }
    .buttons {
        display: flex;
        justify-content: center; /* Центрування кнопок відносно один одного */
        flex-wrap: wrap; /* Дозволяє перенос, якщо ширина екрана дуже мала */
        gap: 10px; /* Рівні відступи між кнопками */
    }
    .button {
        display: inline-flex;
        white-space: nowrap;
        padding: 10px 20px; /* Додаємо однаковий внутрішній відступ */
        text-align: center;
        align-items: center;
        justify-content: center;
        min-width: 150px; /* Мінімальна ширина для однакового вигляду */
        margin: 0; /* Прибираємо попередні margin */
    }

    .button:last-child {
        margin-right: 0; /* Прибирає відступ для останньої кнопки */
    }

    .center__image {
        flex: 1 1 100%;
        text-align: center;
        padding: 20px 0;
    }

    .center__image img {
        max-width: 100%;
        width: 100%;
    }
}

@media(max-width: 767.98px){
    .center__container{
    padding-top: 75px;
    padding-bottom: 55px;
    }
}

@media(max-width: 424.98px){
    .center__container{
    padding-top: 55px;
    padding-bottom: 35px;
    }
}

/*-----------------------------------*/
.about{
    padding-top: 100px;
    padding-bottom: 80px;
}
.about__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.about__container_reverse {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.about__container:not(:last-child){
    margin-bottom: 70px;
}
.about__container_reverse:not(:last-child){
    margin-bottom: 70px;
}
.about__content{
    flex: 1 1 auto;
    padding-right: 20px;
}
.about__content_reverse{
    flex: 1 1 auto;
    padding-left: 45px;
}
.job__title {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px; 
}

.job__title:not(:last-child){
    margin-bottom: 30px;
}

.about__title:not(:last-child){
    margin-bottom: 20px;
}
.job_degree{
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 20px;
    color:#333333;
}
p:not(:last-child){
    margin-bottom: 20px;
}
.about__text{
    max-width: 490px;
    line-height: 1.5;
    color: rgba(17, 24, 35, 0.75);
}
.about__text p{
    color: rgba(8, 1, 29, 0.75);
}
.about__social{
    max-width: 490px;
}
.about__text:not(:last-child){
    margin-bottom: 20px;
}
.about__image{
    text-align: center;
    flex: 0 0 50%;
}
.about__image img{
    max-width: 100%;
}

@media(max-width: 1280px){
    .about{
        padding-top: 70px;
        padding-bottom: 70px;
    }
}
@media(max-width: 1180px){
    .about__content{
    padding-left: 15px;
    }
    .about__content_reverse{
        padding-left: 23px;
        padding-right: 15px;
    }
}
@media(max-width: 991.98px){
    .about{
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .about__container{
        flex-direction: column-reverse;
    }
    .about__container_reverse{
        flex-direction: column;
    }
    .about__container:not(:last-child){
        margin-bottom: 50px;
    }
    .about__content{
        text-align: center;
        padding-right: 0px;
        margin-bottom: 20px;
    }
    .about__content_reverse{
        text-align: center;
        padding-left: 0px;
        margin-bottom: 20px;
    }
    .about__text{
        max-width: none;
    }
    .about__social{
        max-width: none;
    }
}
@media(max-width: 424.98px) {
    .job__title{
    font-size: clamp(2rem, 5vw, 3.5rem); 
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    }
}

.reviews-section {
    padding-bottom: 20px;
    text-align: center;
}

.reviews-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color:#1A2E44;
    }

.slider-container {
    position: relative;
    max-width: 700px;
    margin: auto;
    overflow: hidden;
    padding: 40px 0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    object-fit: contain;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 28px;
    z-index: 10;
}

.left-arrow {
    left: -10px;
}

.right-arrow {
    right: -10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #0456a8;
}

/* Адаптивність */
@media (max-width: 768px) {
    .slider-container {
        max-width: 90%;
    }
    .slider-arrow {
        padding: 8px 12px; /* Reduced padding */
        font-size: 22px; /* Reduced font size */
    }
    .left-arrow {
        left: -5px; /* Adjusted position */
    }
    .right-arrow {
        right: -5px; /* Adjusted position */
    }
}

@media (max-width: 480px) {
    .slider-arrow {
        padding: 6px 10px; /* Further reduced padding */
        font-size: 18px; /* Further reduced font size */
    }
    .left-arrow {
        left: -5px; /* Adjusted to edge */
    }
    .right-arrow {
        right: -5px; /* Adjusted to edge */
    }
}


/*------------ прайс ---------------*/
.store {
	padding-top: 55px;
	padding-bottom: 70px;
}
.store__container {}
.store__title {
	margin-bottom: 56px;
    align-items: center;
    text-align: center;

}
.store__body {}

.body-store {}
.body-store__header {
	margin-bottom: 32px;
    margin-top: 30px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}
.body-store__title {
	letter-spacing: 0.08em;
	font-size: 20px;
	line-height: 1.5;
	text-transform: uppercase;
	color: #1A2E44;
	font-weight: 600;
    padding-left: 15px;
}

.body-store__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 54px;
}
.body-store__item {}

.item {
	display: grid;
}
.item__image {
	text-align: center;
}
.item__image img{
	max-width: 100%;
}
.item__image:not(:last-child){
	margin-bottom: 25px;
}

.item__title {
	color: #1A2E44;
	font-weight: 500;
	font-size: 16px;
	line-height:1.5;
	justify-self: start;
    padding-left: 15px;
}
.item__title:not(:last-child) {
	margin-bottom: 7px;
}
.item__title:hover{
	text-decoration: underline;
}
.item__price {
    color: #333333;
	font-size: 14px;
	line-height: 18px;
    padding-left: 15px;
}
@media (max-width: 991.98px) {
	.store{
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.store__title {
		margin-bottom: 36px;
	}
	.body-store__items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767.98px) {
	.store {
		padding-top: 40px;
		padding-bottom: 20px;
	}
	.store__title {
		margin-bottom: 10px;
	}
	.item__image:not(:last-child) {
		margin-bottom: 15px;
	}
}
@media (max-width: 560px) {
	.body-store__items {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* для header*/
.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(238, 238, 238, 0.1);
    z-index: 50;
    background-color: rgba(34, 40, 49, 0.8);
}
.header__container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 92px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo__tonus {
    color: white;
}

.logo__if {
    color: #0456a8;
}

.header__logo{}
.header__menu{}
.menu{}
.menu__list{
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 3px;
    align-items: center;
}
.menu__item{}
.menu__link{
    color: #EEEEEE;
    line-height: 1.5;
    transition: color 0.3s ease 0s;
}
.menu__link:hover{
    text-decoration: underline;
    color: #00ADB5;
}
@media (max-width: 500px){
    .header__container{
        flex-direction: column;
        gap: 10px;
        min-height: 52px;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .header__logo{
        /*padding-top: 5px;*/
    }
    .menu__list{
        column-gap: 20px;
    }
}
/*--------------------------*/



/*====================================================*/

.healthcare {
    padding: 30px 0 50px 0;
}

.healthcare__block-text {
    margin: 0 0 45px 0;
    text-align: center;
}

.healthcare__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.item-healthcare {
    background: #fff; 
    box-shadow: 0px 4px 18px rgba(88, 126, 236, 0.18);
    border-radius: 8px;
    padding: 35px 20px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.item-healthcare__icon { 
    margin: 0 0 25px 0; 
} 
.item-healthcare__icon img { 
    width: 100%; 
    height: 100%; 
}

.item-healthcare__title {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin-bottom: 15px;
}

.item-healthcare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #2a2761;
}

.item-healthcare__table th {
    background-color: #f0f4ff;
    padding: 8px;
    font-weight: 700;
}

.item-healthcare__table td {
    padding: 8px;
    border-top: 1px solid #e0e0e0;
}

/* ——— Адаптивність ——— */

/* max-width: 992px — по 2 картки в ряд */
@media (max-width: 992px) {
    .healthcare__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* max-width: 568px — по 1 картці в ряд */
@media (max-width: 568px) {
    .healthcare__items {
        grid-template-columns: repeat(1, 1fr);
    }
    .item-healthcare__table th,
    .item-healthcare__table td {
        font-size: 13px;
    }
}


/* footer */ 
.social_networks{
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}
.social_networks__link{
    display: flex;
    flex: 0 0 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background-color: #222831;
    border-radius: 50%;
    transition: background-color 0.3s ease 0s;
}
.social_networks__link:hover{
    background-color: #2e3743;
}

.footer{
    padding-top: 35px;
    padding-bottom: 35px;
    border-top: 2px solid #49a7aa;
}
.footer__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer__info {
    padding-right: 15px;
    color: #333333;
}
.footer__info p:not(:last-child) {
    margin-bottom: 12px;
}
.footer__info a{
    color: #0456a8;
    text-decoration: none;
}
.footer__info a:hover{
    text-decoration: underline;
}
.footer__social {
    display: flex;
    align-items: center;
    padding-right: 15px;
}
.footer__social p{
    margin: 0 10px 0 0;
    color: #333333;
}
.social{
    display: flex;
    gap: 10px; /* Reduced gap to keep icon closer to text */
    align-items: center;
}
.social__link{
    display: flex;
    flex: 0 0 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background-color: #222831;
    border-radius: 50%;
    transition: background-color 0.3s ease 0s;
}
.social__link:hover{
    background-color: #2e3743;
}
.footer__logo{
    max-width: 100px;
    margin-left: 15px;
}
.footer__logo-section{
    padding-right: 15px;
}
.footer__logo-container{
    display: flex;
    align-items: center;
}
.footer__signature{
    font-size: 10px;
    color: #2e3743;
    text-align: center;
    margin-top: 15px;
}
@media(max-width:767.98px){
    .footer{
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .footer__container{
        flex-direction: column;
        text-align: center;
    }
    .footer__info, .footer__social, .footer__logo-section{
        margin-bottom: 15px;
        padding-right: 0;
    }
    .footer__logo{
        max-width: 80px;
        margin-left: 10px;
    }
    .footer__social p{
        margin: 0 0 5px 0; /* Adjusted for vertical stacking */
    }
    .social{
        gap: 10px;
    }
}
@media(max-width:479.98px){
    .footer{
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .footer__logo{
        max-width: 60px;
        margin-left: 8px;
    }
    .footer__social p{
        margin: 0 0 5px 0;
    }
    .social{
        gap: 10px;
    }
}