/* Общие стили */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 

body {
    font-family: 'Inter', sans-serif;
    background-color: #0067a5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}


/* Хедер */
.header {
    background-color: #f4f1ec;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeIn 1s ease;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 5rem;
    font-weight: 900;
    color: #0067a5;
    letter-spacing: 2px;
    margin-bottom: -20px;
    font-family: 'Playfair Display', serif;
}

.subtitle {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 60px;
    font-family: 'Playfair Display', serif;
}


.hero-section {
  margin: 0 -15px; /* компенсируем отступы контейнера */
   margin-bottom: -50px;
}

.hero-image {
  width: 80%;
  display: block;
  margin-left: 100px;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .hero-image {
    height: 75vh;
    object-fit: contain;
    margin-left: 50px;
  }
  
  .hero-section {
    margin: 0 calc(-60vw - 20% ); /* расширяем за пределы контейнера */
    width: 100vw;
    margin-bottom: -47px;
  }
}
.profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: -100px;
}

.profile-img {
    width: 500px;
    height: 500px;

}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Убрали transition и transform */
}

.profile-info h2 {
    display: flex;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: #1f2937;
}

.profile-info p {
    display: flex;
    justify-content: center;
    color: #666;
    margin-bottom: 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #0067a5;
    color: white;
}

.btn-primary:hover {
    background-color: #0067a5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px #0067a5;
}

.btn-secondary {
    background-color: #0067a5;
    color: white;
}

.btn-secondary:hover {
    background-color: #0067a5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px #0067a5;
}

.btn-card {
    background-color: #0067a5;
    color: white;
    width: 100%;
    margin-top: 20px;
}

.btn-card:hover {
    background-color: #0067a5;
}

/* Секции */
.section {
    background-color: #f4f1ec;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease;
}

.section-title {
    font-size: 1.8rem;
    color: #1f2937;
    margin-top: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.section-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 30px;
    text-align: center;
}

/* Как проходят занятия */
.how-it-works {
    text-align: center;
}

/* Отзывы */
.review-card {
    background-color: #f8fafc;
    border-left: 4px solid #0067a5;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.review-text {
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 15px;
}

.review-author {
    font-weight: 600;
    color: #1f2937;
    text-align: right;
}

/* Занятия */
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-bottom: 20px;
}

.pricing-card {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlight {
    border: 5px solid #0067a5;
    position: relative;
    overflow: hidden;
}

.pricing-card.highlight::before {
    content: "ПОПУЛЯРНОЕ";
    position: absolute;
    top: 15px;
    right: -28px;
    background-color: #0067a5;
    color: white;
    padding: 2px 20px;
    font-size: 0.55rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.card-header {
    margin-bottom: 20px;
    text-align: center;
}

.card-header h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 5px;
}

.duration {
    color: #6b7280;
    font-size: 0.95rem;
}
.duration1 {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: 32px;
}

.card-price {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.price {
    text-align: center;
    font-size: 2.3rem;
    font-weight: 700;
    color: #0067a5;
}

.card-features {
    flex: 1;
    margin-bottom: 20px;
}

.card-features p {
    margin-bottom: 12px;
    color: #4b5563;
    display: flex;
    align-items: center;
}

.card-features i {
    color: #0067a5;
    margin-right: 10px;
    font-size: 1.1rem;
    
}

/* О себе */
/* Стили для секции "Обо мне" - исправляем проблему с прокруткой */
.about {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    /* Убираем возможные проблемы с touch-событиями */
    touch-action: pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
}

/* После анимации секция должна оставаться интерактивной */
.about.animated {
    pointer-events: all !important;
}

/* Подсказка для мобильных */
.mobile-hint {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background-color: #FFFEE4(163, 8, 8);
    border-radius: 8px;
    color: #0067a5;
    font-size: 0.9rem;
    animation: pulse 2s infinite;
    cursor: pointer;
    border: 1px dashed #0067a5;
    position: relative;
    z-index: 2;
}

/* Убедимся, что контент внутри секции не блокирует события */
.about .stats,
.about .about-text,
.about .section-title {
    pointer-events: none; /* Содержимое не блокирует события */
}

/* Но кнопки и интерактивные элементы должны работать */
.about .btn,
.about .mobile-hint {
    pointer-events: auto;
}

.about-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0067a5;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: #4b5563;
    text-align: center;
    max-width: 150px;
}


/* Раздел "Ответы на вопросы" */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f5f9;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    font-size: 1.6rem;
    font-weight: 400;
    color: #0067a5;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(360deg);
    background-color: #0067a5;
    color: white;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 1000px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-answer ul {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 10px;
}

.faq-answer li:before {
    content: "•";
    color: #0067a5;
    font-weight: bold;
    position: absolute;
    left: -10px;
}

.faq-answer strong {
    color: #1f2937;
}

.faq-button-container {
    text-align: center;
    margin-top: 40px;
}

.faq-button-container .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
    }
    
    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
    
    .faq-answer p, .faq-answer li {
        font-size: 0.95rem;
    }
}


/* Контактная форма */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.telegram {
    background-color: #0088cc;
    color: white;
}


/* Стили для кнопки ВКонтакте */
.contact-link.vk {
    background-color: #4C75A3; /* Официальный синий цвет VK */
    color: white;
}

.contact-link.vk .icon-circle {
    color:  white;
    background-color: #4C75A3;
    
}

.contact-link.vk:hover {
        transform: translateY(-5px);
}

.contact-link.vk:hover .icon-circle {
    transform: scale(1.1);
}



.contact-link:hover {
    transform: translateY(-5px);

}

.contact-link i {
    font-size: 1.5rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 25px;
    color: #4b5563;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #0067a5;
    display: block;
}

/* Контейнер для социальных ссылок */
.social-links {
    display: flex;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
    margin: 0px 0;
}

/* Базовая стилизация квадратных ссылок */
.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 120px;
    transition: all 0.3s ease;
     margin: 0 -10px;
}

/* Квадратный контейнер для иконки */
.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 15px; /* Можно сделать 0px для острых углов */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* Размер и цвет иконок */
.icon-wrapper i {
    font-size: 32px;
    color: white;
}



/* Цвета фона для каждой иконки */
.tg-square .icon-wrapper {
    background-color: #0067a5; /* Синий Telegram */
}

.vk-square .icon-wrapper {
    background-color: #0067a5; /* Синий VK */
}



/* Эффекты при наведении */
.social-link:hover {
    transform: translateY(-5px);
}

.social-link:hover .icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Изменение цвета фона при наведении */
.tg-square:hover .icon-wrapper {
    background-color: #0077b5; /* Темнее */
}

.vk-square:hover .icon-wrapper {
    background-color: #3a5f8a; /* Темнее */
}


/* Футер */
.footer {
    text-align: center;
    padding: 25px 0;
    color: #ffffff;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 5px;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header, .section {
        padding: 25px 20px;
    }
    
    .logo {
    font-family: 'Playfair Display', serif; /* Шрифт для телефонов */
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 10px;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        margin-bottom: -30px;
        margin-top: -100px;
    }
    
    .profile-info {
        min-width: auto;
    }
    
    .pricing-cards {
        flex-direction: column;
    }
    
    .pricing-card {
        min-width: auto;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
    font-family: 'Playfair Display', serif; /* Шрифт для телефонов */
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 5px;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
        font-size: 2.9rem;
    }
    
    .profile-info h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}
/* Стили для карусели отзывов */
.reviews-container {
    position: relative;
    margin-bottom: 30px;
}

.reviews-scroll-wrapper {
    overflow-x: hidden; /* Убираем скроллбар */
    overflow-y: hidden;
    padding: 10px 60px; /* Добавляем отступы для стрелок */
}

.reviews-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease; /* Для плавной анимации */
}

.review-card {
    flex: 0 0 auto;
    width: 350px;
    min-height: 280px;
    background-color: #f8fafc;
    border-left: 6px solid #0067a5;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-text {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
}

.review-author {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.review-date {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

/* Кнопки навигации */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #0067a5;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px #0067a5;
}

.scroll-btn:hover {
    background-color: #0067a5;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px #0067a5;
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-btn-left {
    left: 0;
}

.scroll-btn-right {
    right: 0;
}

.scroll-btn i {
    font-size: 1.2rem;
}

/* Стили для отключенных кнопок */
.scroll-btn.disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

.scroll-btn.disabled:hover {
    transform: translateY(-50%);
    background-color: #d1d5db;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .review-card {
        width: 300px;
        min-height: 260px;
    }
    
    .reviews-scroll-wrapper {
        padding: 10px 50px;
    }
    
    .scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .review-card {
        width: 280px;
        min-height: 250px;
        padding: 20px;
    }
    
    .reviews-scroll-wrapper {
        padding: 10px 45px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}
.reviews-button-container {
    text-align: center;
    margin-top: 30px;
}


.section-title {
    font-family: 'Playfair Display', serif; /* Шрифт для телефонов */
    font-size: 1.8rem;
    font-weight: 700;
    color: #0067a5;
    text-align: center;
    margin: 20px 0;
}

/* Стиль для КОМПЬЮТЕРОВ (ширина экрана ≥ 769px) */
@media (min-width: 769px) {
    .section-title {
        font-family: 'Playfair Display', serif;  /* Шрифт для компьютера */
        font-size: 2rem;
        letter-spacing: 1px;
        color: #0067a5;
    }
}

/* Улучшения для свайпа */
.reviews-track {
    cursor: grab;
    user-select: none; /* Предотвращает выделение текста при свайпе */
}

.reviews-track:active {
    cursor: grabbing;
}

/* Эффект при драге */
.reviews-track.dragging {
    transition: none;
}

/* Индикатор свайпа (опционально) */
.swipe-hint {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.swipe-hint i {
    color: #0067a5;
    animation: swipe-hint 2s infinite;
}

@keyframes swipe-hint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Для мобильных показываем подсказку */
@media (max-width: 768px) {
    .swipe-hint {
        display: flex;
    }
}

/* Для десктопов скрываем */
@media (min-width: 769px) {
    .swipe-hint {
        display: none;
    }
}



/*Стикер и адаптация*/
.quote-sticker {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 35px 35px;
    max-width: 400px;
    width: 100%;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    position: relative;
    transition: transform 0.3s ease;
    margin-left: 50px;
    margin-bottom: -200px;
}

.quote-sticker:hover {
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 60px;
    color: #4a6fa5;
    opacity: 0.2;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

.quote-content {
    position: relative;
    z-index: 1;
}

.quote-text {
    font-size: 1.8rem;
    line-height: 1.5;
    color: #0067a5;
    font-style: italic;
    margin-bottom: 25px;
    text-align: left;
    padding: 0 10px;
    margin-top: 10px;
    margin-left: 60px;
}
.decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
    z-index: 0;
}

/* Анимация для появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-sticker {
    animation: fadeIn 0.6s ease-out;
}

/* Адаптивность для планшетов */
@media (max-width: 768px) {
    .quote-sticker {
        padding: 30px 20px;
        border-radius: 15px;
        max-width: 300px;
        margin-bottom: 30px;
        
    }
    
    .quote-text {
        font-size: 1.2rem;
        padding: 0 5px;
    }
    
    .quote-author {
        font-size: 1rem;
    }
    
    .quote-icon {
        font-size: 40px;
        top: 15px;
        left: 20px;
    }
    
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 480px) {
    .quote-sticker {
        padding: 25px 15px;
        border-radius: 12px;
        max-width: 250px;
        margin-bottom: 10px;
        margin-top: -50px;
    }
    
    .quote-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .quote-icon {
        font-size: 30px;
        top: 10px;
        left: 15px;
    }
    .profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: -170px;
    margin-bottom: -80px;
}
    
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 320px) {
    .quote-sticker {
        padding: 20px 12px;
        max-width: 200px;
        margin-left: -20px;
        margin-bottom: 50px;
    }
    
    .quote-text {
        font-size: 0.8rem;
    }
    
    .quote-author {
        font-size: 0.9rem;
    }
}
