/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe Script', cursive;
    color: #4e626b;
    background-color: #fff5e9;
}

/* Шапка */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff5e9;

}


/* Навигация */
.nav-links {
    display: flex;
    justify-content: center;
    flex-grow: 3;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease; /* Добавляем эффект увеличения при наведении */
}

.nav-links li {
    margin: 0 45px;
}

.nav-links a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #4e626b;
    }

.nav-links a:hover {
    color: #216fc2;
}

/* Главный контент */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 60px;
    height: 60vh;
    background: #fff5e9;
    color: #4e626b;
    text-align: left;
}
.hero-section {
    width: 40vw; /* Занимает 40% ширины экрана */
    height: 60vh; /* Занимает 60% от высоты экрана */
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
    font-style: normal;
    color: #bf8b7b;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    margin-top: 10px;
    line-height: 1.5;
}
.right-image {
    width: 50%; /* Задаем ширину изображения как 30% от ширины экрана */
    height: auto; /* Сохраняем пропорции изображения */
    position: absolute; /* Позволяет разместить изображение в правой части */
    right: 0; /* Прижимаем изображение к правой стороне экрана */
    top: 20%; /* Отступ сверху, чтобы оно не налезало на другие элементы */
    padding: 50px; /* Внутренние отступы */
       transition: transform 0.3s ease; /* Добавляем эффект увеличения при наведении */
}

.right-image:hover {
    transform: scale(1.05); /* Легкое увеличение изображения при наведении */
}
/* Раздел Услуги */
.services-section {
    padding: 100px;
    background-color: #fff5e9;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    color: #4e626b;
    margin-bottom: 20px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.service-item {
    width: 30%;
    text-align: center;
}

.service-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* Эффект увеличения при наведении */
}

.service-item img:hover {
    transform: scale(1.05); /* Легкое увеличение изображения при наведении */
}

.service-item p {
    margin-top: 10px;
    font-size: 3rem;
    color: #bf8b7b;
}
/* Ссылка на все услуги */
.all-services-link {
    margin-top: 20px;
    text-align: center;
}

.all-services-link a {
    font-size: 3rem;
    color: #bf8b7b;
    }
/* Стили для страницы услуг */
.services-content {
    padding: 40px;
    background-color: #fff5e9;
    text-align: center;
}

.services-content h1 {
    font-size: 2.5rem;
    color: #4e626b;
    margin-bottom: 30px;
}

.service-packages {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Позволяет переносить блоки на новую строку при уменьшении экрана */
    gap: 20px;
}

.service-package {
    width: 22%; /* Задаем ширину каждого блока, чтобы умещалось по 4 в ряд */
    background-color: #fff5e9;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s ease;
}

.service-package:hover {
    transform: scale(1.03); /* Легкое увеличение при наведении */
}

.service-package h2 {
    font-size: 1.5rem;
    color: #4e626b;
    margin-bottom: 10px;
}

.service-package span {
    color: #bf8b7b;
}

.service-package ul {
    margin-top: 10px;
    margin-bottom: 20px;
}

.service-package li {
    font-size: 1rem;
    color: #4e626b;
    list-style-type: disc;
    list-style-position: inside;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #bf8b7b;
    margin-top: 10px;
}

.pay-button {
    display: block;
    margin-top: 15px;
    text-align: center;
}

.pay-button-image {
    width: 250px; /* Ширина изображения кнопки */
    height: auto;
}

.consultation-link {
    font-size: 1.2rem;
    color: #bf8b7b;
    text-align: center;
    margin-top: 10px;
    text-decoration: underline;
    cursor: pointer;
}
/* Подсветка активной кнопки в меню */
.nav-links .active {
    font-weight: bold;            /* Делаем шрифт жирным */
    color: #bf8b7b;               /* Цвет, который выделяет текущую страницу */
    text-decoration: underline;   /* Подчёркивание для обозначения активной страницы */
}

/* Эффект увеличения логотипа при наведении */
.logo-image {
    transition: transform 0.3s ease; /* Плавный переход для увеличения */
}

.logo-image:hover {
    transform: scale(1.1); /* Увеличение логотипа на 10% при наведении */
}
/* Стили для кнопки вызова формы */
.consultation-link {
    font-size: 1.2rem;
    color: #bf8b7b;
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
    margin-top: 10px;
}

/* Стили для контейнера формы */
.appointment {
    background-color: #fff5e9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.appointment h2 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.appointment p {
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.appointment label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.appointment input[type="text"],
.appointment input[type="tel"],
.appointment input[type="email"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.submit-button {
    background-color: #bf8b7b;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #ff8800;
}
/* Стили для раздела Вопросы и ответы */
.faq-section {
    padding: 60px;
    background-color: #fff5e9;
    color: #4e626b;
    text-align: left;
}

.faq-section h2 {
    font-size: 2rem;
    color: #4e626b;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Segoe Script';
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item p {
    font-size: 1.2rem;
    color: #4e626b;
        line-height: 1.6;
}

.faq-item a {
    color: #bf8b7b;
    text-decoration: underline;
}

.faq-item a:hover {
    color: #ff8800;
}

/* Стили для списка */
.faq-item ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style-type: disc;
}

.faq-item li {
    font-size: 1.1rem;
    color: #4e626b;
    margin-bottom: 5px;
}
/* Стили для раздела Сертификация */
.certification-section {
    padding: 60px;
    background-color: #fff5e9;
    color: #4e626b;
    text-align: center;
}

.certification-section h2 {
    font-size: 2rem;
    color: #4e626b;
    margin-bottom: 20px;
    font-family: 'Segoe Script', cursive;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 2000px;
    margin: 0 auto;
}

.slider-button {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    color: #bf8b7b;
    cursor: pointer;
    transition: color 0.3s ease;
}

.slider-button:hover {
    color: #ff8800;
}

.slides {
    display: flex;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.slide {
    display: none;
    flex-direction: column;
    align-items: center;
}

.slide img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cert-description {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #4e626b;
    font-style: italic;
}
/* Стили для футера */
.main-footer {
    background-color: #4e626b;
    color: #fff5e9;
    padding: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section {
    margin: 10px;
    text-align: center;
}

.footer-section p {
    margin: 5px 0;
}

.footer-section a {
    color: #bf8b7b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff8800;
}

.social-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #fff5e9;
}
.social-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #7bbfab3a;
    transition: color 0.3s ease;
}

.social-link:hover svg {
    fill: #ff8800; /* Цвет при наведении */
}
.footer-section {
    display: flex;
    flex-direction: column; /* Выстраивает элементы вертикально */
    align-items: center;
    margin: 10px;
    text-align: center;
    .details-section {
        margin-top: 40px;
        padding: 20px;
        background-color: #fff5e9;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .details {
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        margin-bottom: 20px;
        display: none;
    }
    
    }
    .details-link {
        font-size: 1.2rem;
        color: #bf8b7b; /* Цвет ссылки */
        text-align: center;
        text-decoration: underline;
        cursor: pointer;
        margin-top: 10px;
    }
    
    .details-link:hover {
        color: #ff8800; /* Цвет при наведении */
    }
    .details h2 {
        font-family: 'Segoe Script', cursive;
        color: #4e626b;
        text-align: center;
        font-size: 2.5rem;
    }
    
    .details h3 {
        font-family: 'Segoe Script', cursive;
        color: #bf8b7b;
        text-align: center;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .details ul {
        list-style-type: disc;
        margin-top: 20px;
        margin-left: 40px;
        color: #4e626b;
        font-size: 1.2rem;
        line-height: 1.8;
    }
    
    .details p {
        font-size: 1.2rem;
        color: #4e626b;
        margin-top: 20px;
        line-height: 1.8;
    }
    
    .details .consultation-link {
        font-size: 1.2rem;
        color: #bf8b7b;
        text-align: center;
        text-decoration: underline;
        cursor: pointer;
        margin-top: 20px;
    }
    
    .details .consultation-link:hover {
        color: #ff8800;
    }
   .reviews-section {
    padding: 40px;
    background-color: #fff5e9;
    text-align: center;
}

.reviews-section h1 {
    font-size: 2.5rem;
    color: #4e626b;
    margin-bottom: 30px;
    font-family: 'Segoe Script', cursive;
}

.review {
    font-size: 1.2rem;
    color: #4e626b;
    margin: 0 auto;
    max-width: 800px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    line-height: 1.8;
    text-align: left;
}

.review p {
    margin-bottom: 15px;
}

.review strong {
    display: block;
    text-align: right;
    color: #bf8b7b;
    margin-top: 10px;
}
.about-section {
    padding: 60px 20px;
    background-color: #fff5e9;
    text-align: center;
    color: #4e626b;
    line-height: 1.8;
}

.about-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #bf8b7b;
    margin-bottom: 20px;
    font-family: 'Segoe Script', cursive;
}

.about-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: justify;
}

.subheading {
    font-size: 2rem;
    font-family: 'Segoe Script', cursive;
    color: #bf8b7b;
    margin: 30px 0 20px;
    text-align: center;
}
.coaching-topics {
    list-style-type: disc;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 800px;
    text-align: left;
    color: #4e626b;
}

.coaching-topics li {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.principles {
    padding: 60px 20px;
    background-color: #fff5e9;
    line-height: 1.8;
    text-align: center;
}

.principles-list {
    list-style-type: disc;
    margin: 20px auto;
    padding: 0 20px;
    max-width: 800px;
    text-align: left;
    color: #4e626b;
}

.principles-list li {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.principles p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: justify;
}
.highlighted-text {
    color: #bf8b7b;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: justify;
    line-height: 1.8;
}


     
@media (max-width: 768px) {
    .service-package {
        width: 100%; /* На узких экранах блоки будут занимать всю ширину */
    }
    
}