/* Variables */
        :root {
            --primary-color: #5d78ff;
            --primary-dark: #3a56d4;
            --secondary-color: #757575;
            --dark-color: #292929;
            --light-color: #f8f8f8;
            --border-color: #e0e0e0;
            --text-color: #333;
            --light-text: #666;
            --white: #ffffff;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            --transition-fast: all 0.3s ease;

            /* Social Media Colors */
            --telegram-color: #0088cc;
            --vk-color: #4a76a8;
            --whatsapp-color: #25D366;
            --youtube-color: #ff0000;
            --boosty-color: #ff6b00;
        }

        /* Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'PT Sans', sans-serif;
            color: var(--text-color);
            line-height: 1.6;
            background-color: var(--white);
            overflow-x: hidden; /* Предотвращает горизонтальный скролл */
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'PT Serif', serif;
            margin-bottom: 0.5em;
            line-height: 1.3;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition-fast);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 30px;
            font-family: 'PT Sans', sans-serif;
            font-weight: 700;
            font-size: 16px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            border: none;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(93, 120, 255, 0.3);
        }

        .btn.primary {
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
        }

        .btn.primary:hover {
            background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
        }

        .btn.secondary {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn.secondary:hover {
            background-color: rgba(93, 120, 255, 0.1);
        }

        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--light-color);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .animate-on-scroll {
            opacity: 0;
        }

        .animate-on-scroll.visible {
            opacity: 1;
        }

        .animate-on-scroll.fade-in-up.visible {
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .animate-on-scroll.fade-in-left.visible {
            animation: fadeInLeft 0.8s ease-out forwards;
        }

        .animate-on-scroll.fade-in-right.visible {
            animation: fadeInRight 0.8s ease-out forwards;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 80px;
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
            z-index: 1000;
            display: flex;
            align-items: center;
            transition: var(--transition-fast);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            gap: 20px;
        }

        .logo {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition-fast);
        }

        .logo:hover {
            color: var(--primary-light);
        }

        .logo-icon {
            font-size: 28px;
        }

        .social-links-header {
            display: flex;
            gap: 15px;
        }

        .social-link-header {
            font-size: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--light-color);
            transition: var(--transition);
            color: var(--light-color);
        }

        .social-link-header.telegram { color: var(--telegram-color); }
        .social-link-header.vk { color: var(--vk-color); }
        .social-link-header.whatsapp { color: var(--whatsapp-color); }
        .social-link-header.youtube { color: var(--youtube-color); }
        .social-link-header.boosty { color: var(--boosty-color); }

        .social-link-header:hover {
            transform: translateY(-5px) scale(1.1);
            background-color: var(--light-color);
            color: var(--white);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .main-nav {
            display: flex;
            gap: 30px;
        }

        .nav-link {
            font-family: 'PT Sans', sans-serif;
            font-weight: 700;
            font-size: 16px;
            color: var(--secondary-color);
            position: relative;
            padding: 10px 0;
            transition: var(--transition-fast);
        }

        .nav-link:hover {
            color: var(--dark-color);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            transition: var(--transition);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Main Content */
        .main {
            margin-top: 80px;
            padding: 0;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(93, 120, 255, 0.85), rgba(58, 86, 212, 0.85)),
                        url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            background-attachment: fixed; /* Параллакс */
            color: var(--white);
            padding: 150px 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 20%);
            pointer-events: none; /* Не мешает взаимодействию */
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative; /* Для z-index */
            z-index: 2;
        }

        .hero-title {
            font-size: 48px;
            margin-bottom: 20px;
            line-height: 1.2;
            animation: fadeInUp 1s ease-out 0.2s both; /* Анимация при загрузке */
        }

        .hero-subtitle {
            font-size: 20px;
            margin-bottom: 40px;
            font-weight: 400;
            animation: fadeInUp 1s ease-out 0.4s both; /* Анимация при загрузке */
        }

        .hero-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            animation: fadeInUp 1s ease-out 0.6s both; /* Анимация при загрузке */
        }

        .hero-btn {
            padding: 15px 35px;
            border-radius: 30px;
            font-family: 'PT Sans', sans-serif;
            font-weight: 700;
            font-size: 16px;
            transition: var(--transition);
        }

        .hero-btn.primary {
            background-color: var(--white);
            color: var(--primary-color);
        }

        .hero-btn.primary:hover {
            background-color: #f0f0f0;
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .hero-btn.secondary {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
			
        }

        .hero-btn.secondary:hover {
            background-color: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        /* Section Styles */
        .section {
            padding: 40px 0;
        }

        .section.light-bg {
            background-color: var(--light-color);
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
            padding: 0 20px;
        }

        .section-title {
            font-size: 36px;
            margin-bottom: 15px;
            color: var(--dark-color);
        }

        .section-description {
            font-size: 18px;
            color: var(--secondary-color);
            max-width: 700px;
            margin: 0 auto;
        }

        /* About Section */
        .about-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Возвращаем исходное */
            gap: 30px;
			
        }

        .about-card {
            background: var(--white);
            padding: 40px 30px;
            border-radius: 15px;
            box-shadow: var(--shadow);
            text-align: center;
            transition: var(--transition);
            cursor: default;
            position: relative;
            overflow: hidden;
            z-index: 1;
			min-width: 220px; /* Или другое значение, подходящее для вашего дизайна */
        }

        .about-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0;
            background: linear-gradient(120deg, var(--primary-color), var(--primary-dark));
            transition: height 0.5s ease;
            z-index: -1;
            opacity: 0.1;
        }

        .about-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .about-card:hover::before {
            height: 100%;
        }

        .about-icon {
            font-size: 48px;
            color: var(--primary-color);
            margin-bottom: 25px;
            transition: var(--transition);
        }

        .about-card:hover .about-icon {
            color: var(--white);
            transform: scale(1.2);
        }

        .about-card-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
    /* word-break: break-word; */ /* Убираем это свойство, которое разрешало перенос слов */
    word-break: keep-all; /* Предотвращает разрыв слов (полезно для CJK, но и для других) */
    hyphens: auto; /* Пытается перенести слово с дефисом, если оно не помещается (поддержка браузерами разная) */
    /* Если предыдущие два не помогают, можно попробовать без них, оставив только text-align */
    text-align: center; /* Убедимся, что текст центрирован */
        }

        .about-card-text {
            font-size: 16px;
            color: var(--secondary-color);
			
        }

        /* Services Section */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .service-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            cursor: pointer;
            display: flex; /* Исправление: Flexbox для всей карточки */
            flex-direction: column; /* Исправление: Вертикальное направление */
        }

        .service-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .service-image {
            overflow: hidden;
        }

        .service-image img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
            transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .service-card:hover .service-image img {
            transform: scale(1.1);
        }

        .service-content {
            padding: 25px;
            /* Исправление: Flexbox для контента */
            display: flex;
            flex-direction: column;
            flex-grow: 1; /* Исправление: Занимает всё доступное пространство */
        }

        .service-title {
            font-size: 22px;
            margin-bottom: 15px;
            color: var(--dark-color);
        }

        .service-description {
            color: var(--secondary-color);
            margin-bottom: 20px;
            font-size: 16px;
            /* Исправление: Растягивается, занимая доступное пространство */
            flex-grow: 1;
        }

        .service-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto; /* Исправление: Прижимает футер вниз */
        }

        .service-price {
            font-family: 'PT Sans', sans-serif;
            font-weight: 700;
            color: var(--primary-color);
            font-size: 18px;
        }

        .service-btn {
            padding: 8px 20px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 20px;
            font-family: 'PT Sans', sans-serif;
            font-size: 14px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .service-btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* Reviews Section */
        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .review-card {
            background: var(--white);
            padding: 30px;
            border-radius: 15px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            cursor: default;
            position: relative;
        }

        .review-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .review-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .review-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: 15px;
            object-fit: cover;
            border: 2px solid var(--primary-color);
        }

        .review-name {
            font-size: 18px;
            margin-bottom: 5px;
            color: var(--dark-color);
        }

        .review-rating {
            color: gold;
            font-size: 14px;
        }

        .review-content p {
            font-style: italic;
            margin-bottom: 15px;
            color: var(--secondary-color);
        }

        .review-date {
            font-size: 13px;
            color: var(--light-text);
            text-align: right;
        }

        /* Blog Section */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .article-card {
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            cursor: pointer;
        }

        .article-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .article-card-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }

        .article-card:hover .article-card-image {
            transform: scale(1.05);
        }

        .article-card-content {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .article-card-title {
            font-size: 20px;
            margin-bottom: 12px;
            line-height: 1.3;
            color: var(--dark-color);
        }

        .article-card-excerpt {
            font-size: 16px;
            color: var(--secondary-color);
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .article-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }

        .article-card-tag {
            font-family: 'PT Sans', sans-serif;
            font-size: 12px;
            padding: 4px 10px;
            background-color: #f2f2f2;
            border-radius: 20px;
            color: var(--secondary-color);
        }

        .article-card-readtime {
            font-size: 13px;
            color: var(--secondary-color);
        }

        .article-card-btn {
            display: inline-block;
            padding: 10px 20px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            border-radius: 25px;
            font-family: 'PT Sans', sans-serif;
            font-weight: 700;
            font-size: 14px;
            transition: var(--transition);
            text-align: center;
            border: none;
            cursor: pointer;
            margin-top: 15px;
            align-self: flex-start; /* Выравнивание кнопки влево */
        }

        .article-card-btn:hover {
            background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(93, 120, 255, 0.3);
        }

        /* Contacts Section */
        .contacts-section {
            background: linear-gradient(rgba(248, 248, 248, 0.9), rgba(240, 240, 240, 0.9)),
                        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            background-attachment: fixed; /* Параллакс */
            padding: 100px 0;
            color: var(--dark-color);
        }

        .contacts-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 50px;
        }

        .contacts-info {
            flex: 1;
            min-width: 300px;
        }

        .contacts-title {
            font-size: 36px;
            margin-bottom: 30px;
            color: var(--dark-color);
        }

        .contacts-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
            gap: 15px; /* Исправление: Используем gap вместо margin-right */
        }

        .contacts-item i {
            font-size: 24px;
            color: var(--primary-color);
            /* min-width: 30px; /* Исправление: Минимальная ширина для выравнивания */
            /* padding-top: 5px; /* Исправление: Небольшой отступ сверху для точного выравнивания */
			flex-shrink: 0; /* Предотвращает сжатие иконки */
            line-height: 1; /* Убирает лишнее пространство вокруг иконки */
        }

        .contacts-item p {
            font-size: 18px;
            color: var(--secondary-color);
			margin: 0; /* Убирает отступы у параграфа */
            line-height: 1.4; /* Оптимальный межстрочный интервал */
        }

        .contacts-decoration {
            flex: 0 0 auto;
            animation: fadeInUp 1s ease-out 0.3s both; /* Анимация при загрузке */
        }

        .contacts-decoration svg {
            width: 200px;
            height: auto;
            transition: transform 0.5s ease-in-out;
        }

        .contacts-decoration:hover svg {
            transform: rotate(5deg) scale(1.05);
            filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
        }

        /* Footer */
        .footer {
            background-color: var(--dark-color);
            color: var(--white);
            padding: 70px 0 30px;
        }

        .footer-columns {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
        }

        .footer-column {
            display: flex;
            flex-direction: column;
        }

        .footer-logo {
            font-size: 24px;
            font-weight: 700;
            color: var(--white);
            margin-bottom: 20px;
            display: inline-block;
            transition: var(--transition-fast);
        }

        .footer-logo:hover {
            color: var(--primary-color);
        }

        .footer-text {
            color: #b3b3b3;
            margin-bottom: 25px;
            font-size: 15px;
        }

        .social-links-footer {
            display: flex;
            gap: 15px;
            margin-top: auto; /* Прижимает к низу колонки */
        }

        .social-link-footer {
            font-size: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            color: var(--white);
        }

        .social-link-footer.telegram { color: var(--telegram-color); }
        .social-link-footer.vk { color: var(--vk-color); }
        .social-link-footer.whatsapp { color: var(--whatsapp-color); }
        .social-link-footer.youtube { color: var(--youtube-color); }
        .social-link-footer.boosty { color: var(--boosty-color); }

        .social-link-footer:hover {
            transform: translateY(-5px) scale(1.1);
            background-color: var(--white);
            color: var(--dark-color);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .footer-column-title {
            font-size: 20px;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
            color: var(--white);
        }

        .footer-column-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            border-radius: 2px;
        }

        .footer-links, .footer-contacts {
            list-style: none;
            flex-grow: 1; /* Занимает оставшееся пространство */
        }

        .footer-link, .footer-contacts li {
            display: block;
            margin-bottom: 12px;
        }

        .footer-link a, .footer-contacts li {
            font-size: 15px;
            color: #b3b3b3;
            transition: var(--transition-fast);
            display: flex;
            align-items: flex-start; /* Исправление: Выравнивание по верху */
            gap: 10px; /* Исправление: Расстояние между иконкой и текстом */
        }

        .footer-link a:hover, .footer-contacts li:hover {
            color: var(--white);
            transform: translateX(5px);
        }

        /* Исправление: Стили для иконок в контактах футера */
        .footer-contacts li i {
            min-width: 20px; /* Исправление: Минимальная ширина для выравнивания */
            color: var(--primary-color);
            padding-top: 6px; /* Исправление: Небольшой отступ сверху для точного выравнивания */
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 14px;
            color: #b3b3b3;
        }

        .footer-legal {
            display: flex;
            gap: 25px;
        }

        .footer-legal-link {
            color: #b3b3b3;
            transition: var(--transition-fast);
        }

        .footer-legal-link:hover {
            color: var(--white);
            text-decoration: underline;
        }

        /* Section Footer Links */
        .section-footer {
            text-align: center;
            margin-top: 50px;
        }

        .section-link {
            font-weight: 700;
            color: var(--primary-color);
            position: relative;
            padding: 12px 30px;
            border: 2px solid var(--primary-color);
            border-radius: 30px;
            transition: var(--transition);
            display: inline-block;
        }

        .section-link:hover {
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            border-color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(93, 120, 255, 0.3);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 40px;
            }
            .hero-subtitle {
                font-size: 18px;
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
                padding: 10px 0;
            }
            .logo {
                font-size: 20px;
            }
            .main-nav {
                flex-wrap: wrap;
                justify-content: center;
                gap: 15px;
            }
            .nav-link {
                font-size: 14px;
            }
            .hero {
                padding: 100px 0;
            }
            .hero-title {
                font-size: 32px;
            }
            .hero-subtitle {
                font-size: 16px;
            }
            .hero-buttons {
                flex-direction: column;
                gap: 15px;
            }
            .hero-btn {
                width: 100%;
            }
            .section {
                padding: 70px 0;
            }
            .section-title {
                font-size: 28px;
            }
            .section-description {
                font-size: 16px;
            }
            .about-card, .service-card, .review-card, .article-card {
                width: 100%;
            }
            .contacts-container {
                flex-direction: column;
                align-items: flex-start;
            }
            .contacts-title {
                font-size: 28px;
            }
            .contacts-item p {
                font-size: 16px;
            }
            .contacts-decoration {
                margin: 0 auto;
            }
            .footer-columns {
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
            .social-links-footer {
                order: 3;
                width: 100%;
                justify-content: center;
                margin-top: 20px;
            }
            .footer-bottom {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            .footer-legal {
                justify-content: center;
                flex-wrap: wrap;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 18px;
            }
            .main-nav {
                flex-wrap: wrap;
                gap: 10px;
            }
            .nav-link {
                font-size: 13px;
            }
            .hero-title {
                font-size: 28px;
            }
            .hero-subtitle {
                font-size: 15px;
            }
            .about-card, .service-card, .review-card, .article-card {
                padding: 20px 15px;
            }
            .footer-columns {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            .footer-column-title {
                font-size: 18px;
            }
            .footer-link a, .footer-contacts li {
                font-size: 14px;
            }
            .footer-bottom {
                font-size: 12px;
            }
            .footer-legal {
                gap: 15px;
            }
        }

/* === Добавленные уникальные стили из styles_1.css === */

:root {
    --primary-color: #5d78ff;
    --primary-dark: #3a56d4;
    --secondary-color: #757575;
    --dark-color: #292929;
    --light-color: #f8f8f8;
    --border-color: #e0e0e0;
    --telegram-color: #0088cc;
    --vk-color: #4a76a8;
    --whatsapp-color: #25D366;
	--youtube-color: #ff0000;
    --boosty-color: #ff6b00;
    --article-card-width: 300px;
}

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

body {
    font-family: 'PT Serif', serif;
    color: var(--dark-color);
    background-color: #fff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 24px;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.nav-link {
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    color: var(--secondary-color);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--dark-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.social-links-header {
    display: flex;
    gap: 15px;
    margin-left: 30px;
}

.social-link-header.telegram {
    color: var(--telegram-color);
}

.social-link-header.vk {
    color: var(--vk-color);
}

.social-link-header.whatsapp {
    color: var(--whatsapp-color);
}

.social-link-header.youtube {
    color: var(--youtube-color);
}

.social-link-header.boosty {
    color: var(--boosty-color);
}

.social-link-header:hover {
    transform: translateY(-2px);
}

/* Main Content */
.main {
    margin-top: 80px;
    padding: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(93, 120, 255, 0.9), rgba(58, 86, 212, 0.9)), 
                url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-btn {
    padding: 15px 30px;
    border-radius: 30px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
}

.hero-btn.primary {
    background-color: white;
    color: var(--primary-color);
}

.hero-btn.primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.section-description {
    font-size: 18px;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.section-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
}

.section-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-card-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.about-card-text {
    color: var(--secondary-color);
    font-size: 16px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-description {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 16px;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.service-btn {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background-color: var(--primary-dark);
}

/* Specialists Section */
.specialists-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.specialists-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.specialist-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.specialist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.specialist-photo {
    height: 300px;
    overflow: hidden;
}

.specialist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-info {
    padding: 20px;
}

.specialist-name {
    font-size: 22px;
    margin-bottom: 10px;
}

.specialist-position {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.specialist-experience {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 14px;
}

.specialist-description {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 15px;
}

.specialist-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
}

.specialist-btn:hover {
    background-color: var(--primary-dark);
}

/* Appointment Section */
.appointment-section {
    padding: 80px 0;
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.appointment-info {
    padding: 30px;
}

.appointment-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.appointment-text {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 16px;
}

.appointment-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.appointment-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'PT Serif', serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(93, 120, 255, 0.2);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: var(--primary-dark);
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author {
    flex: 1;
}

.review-name {
    font-size: 18px;
    margin-bottom: 5px;
}

.review-rating {
    color: #ffc107;
}

.review-content {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-style: italic;
}

.review-date {
    color: var(--secondary-color);
    font-size: 14px;
    text-align: right;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--article-card-width), 1fr));
    gap: 40px;
}

.article-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.article-card-title {
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card-excerpt {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.article-card-tag {
    font-family: 'PT Sans', sans-serif;
    font-size: 12px;
    padding: 4px 10px;
    background-color: #f2f2f2;
    border-radius: 20px;
    color: var(--secondary-color);
}

.article-card-readtime {
    font-size: 13px;
    color: var(--secondary-color);
}

.article-card-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.article-card-btn:hover {
    background-color: var(--primary-dark);
}

/* Contacts Section */
.contacts-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contacts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacts-info {
    padding: 30px;
}

.contacts-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contacts-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contacts-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 3px;
}

.contacts-item p {
    color: var(--dark-color);
    line-height: 1.6;
}

.contacts-map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-text {
    color: #b3b3b3;
    margin-bottom: 20px;
    font-size: 15px;
}

.social-links-footer {
    display: flex;
    gap: 15px;
}

.social-link-footer.telegram {
    color: var(--telegram-color);
}

.social-link-footer.vk {
    color: var(--vk-color);
}

.social-link-footer.whatsapp {
    color: var(--whatsapp-color);
}

.social-link-footer.youtube {
    color: var(--youtube-color);
}

.social-link-footer.boosty {
    color: var(--boosty-color);
}

.social-link-footer:hover {
    transform: translateY(-3px);
}

.footer-column-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: #b3b3b3;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b3b3b3;
}

.footer-contacts i {
    color: var(--primary-color);
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #b3b3b3;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal-link {
    color: #b3b3b3;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-legal-link:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .appointment-container,
    .contacts-container {
        grid-template-columns: 1fr;
    }

.contacts-map {
        height: 300px;
    }

}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        padding: 10px 0;
        height: auto;
        gap: 10px;
    }

.header {
        height: auto;
        position: relative;
    }

.social-links-header {
        display: none;
    }

.main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

.main {
        margin-top: 0;
    }

.hero {
        padding: 80px 0;
    }

.hero-subtitle {
        font-size: 18px;
    }

.hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

.hero-btn {
        width: 100%;
    }

.section-title {
        font-size: 28px;
    }

.section-description {
        font-size: 16px;
    }

}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

.main-nav {
        flex-wrap: wrap;
        gap: 10px;
    }

.nav-link {
        font-size: 14px;
    }

.hero-subtitle {
        font-size: 16px;
    }

.about-card,
    .service-card,
    .specialist-card,
    .review-card,
    .article-card {
        width: 100%;
    }

.footer-columns {
        grid-template-columns: 1fr;
    }

.footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

.footer-legal {
        flex-direction: column;
        gap: 10px;
    }

}

.contacts-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.contacts-info {
    flex: 1;
    max-width: 400px;
}

.contacts-decoration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacts-image {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    filter: grayscale(30%) brightness(1.1);
}

.contacts-pattern {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .contacts-container {
        flex-direction: column;
    }

.contacts-decoration {
        margin-top: 40px;
    }

}

/* Article Page Styles */
.breadcrumbs {
    padding: 15px 0;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.article-header {
    padding: 60px 0 30px;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: var(--secondary-color);
}

.article-title {
    font-size: 42px;
    margin-bottom: 30px;
    line-height: 1.3;
    color: var(--dark-color);
}

.article-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 70%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    display: block;
}

.author-position {
    font-size: 14px;
    color: var(--secondary-color);
    display: block;
}

.article-featured-image {
    margin-bottom: 40px;
}

.article-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.image-caption {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.article-content {
    padding: 40px 0;
}

.content-wrapper {
    display: flex;
    gap: 40px;
}

.article-text {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
}

.article-text h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--dark-color);
}

.article-text h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.article-text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.article-text ol,
.article-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-text li {
    margin-bottom: 10px;
    font-size: 18px;
}

.lead {
    font-size: 22px;
    line-height: 1.6;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-weight: 400;
}

.article-image-right {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 300px;
}

.article-image-full {
    margin: 40px 0;
}

.article-tip {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.tip-icon {
    color: var(--primary-color);
    font-size: 24px;
}

.tip-content {
    flex: 1;
}

.article-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--dark-color);
    font-size: 20px;
}

.article-quote cite {
    display: block;
    font-size: 16px;
    margin-top: 10px;
    font-style: normal;
    color: var(--secondary-color);
}

.article-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 16px;
    color: var(--dark-color);
}

.article-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin: 50px 0;
    text-align: center;
}

.article-cta h3 {
    color: white;
    margin-bottom: 15px;
}

.article-cta p {
    margin-bottom: 20px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-flex; 
	align-items: center;
    padding: 12px 30px;
    background-color: white;
    color: var(--primary-color);
    border-radius: 30px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
	font-size: 20px; /*
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.article-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar-block {
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-color);
}

.author-bio {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-bio-content p {
    font-size: 14px;
    color: var(--secondary-color);
}

.sidebar-toc ul {
    list-style: none;
}

.sidebar-toc li {
    margin-bottom: 10px;
}

.sidebar-toc a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    font-size: 15px;
}

.sidebar-toc a:hover {
    color: var(--primary-color);
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-article {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-article:last-child {
    border-bottom: none;
}

.sidebar-article h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.sidebar-article p {
    font-size: 14px;
    color: var(--secondary-color);
}

.sidebar-article a:hover h4 {
    color: var(--primary-color);
}

/* Related Articles */
.related-articles {
    padding: 60px 0;
    background-color: var(--light-color);
}

/* Comments */
.comments-section {
    padding: 60px 0;
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.comment-date {
    font-size: 14px;
    color: var(--secondary-color);
}

.comment-content {
    padding-left: 65px;
}

.comment-content p {
    font-size: 16px;
    line-height: 1.6;
}

.comment-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.comment-form h3 {
    margin-bottom: 20
		
		
/* ==================== */
/* Enhanced Animations */
/* ==================== */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Floating animation for hero section */
@keyframes float {
    0% { transform: translateY(0px); }

50% { transform: translateY(-15px); }

100% { transform: translateY(0px); }

}

.hero-content {
    animation: float 6s ease-in-out infinite;
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
    0% { transform: scale(1); }

50% { transform: scale(1.05); }

100% { transform: scale(1); }

}

.hero-btn.primary {
    animation: pulse 2s infinite;
}

/* Fade-in animation for sections */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }

to { opacity: 1; transform: translateY(0); }

}

section {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Delay animations for each section */
.about-section { animation-delay: 0.1s; }

.services-section { animation-delay: 0.2s; }

.reviews-section { animation-delay: 0.3s; }

.blog-section { animation-delay: 0.4s; }

.contacts-section { animation-delay: 0.5s; }

/* ==================== */
/* Enhanced Visual Effects */
/* ==================== */

/* Gradient overlay for hero */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(93, 120, 255, 0.8) 0%, rgba(58, 86, 212, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Glow effect for cards */
.about-card, 
.service-card, 
.review-card, 
.article-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.about-card:hover,
.service-card:hover,
.review-card:hover,
.article-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Subtle parallax effect */
.hero {
    background-attachment: fixed;
}

/* ==================== */
/* Enhanced Trust Elements */
/* ==================== */

/* Add certification badges */
.about-section::after {
    content: '';
    display: block;
    width: 100%;
    height: 100px;
    background: url('https://example.com/certification-badges.png') center no-repeat;
    background-size: contain;
    margin-top: 50px;
    opacity: 0.8;
}

/* Animated stats counter */
.stat-number {
    transition: all 1s ease-out;
    display: inline-block;
}

/* ==================== */
/* Enhanced Button Effects */
/* ==================== */

.hero-btn, 
.service-btn, 
.section-link, 
.article-card-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.hero-btn::after,
.service-btn::after,
.section-link::after,
.article-card-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.hero-btn:hover::after,
.service-btn:hover::after,
.section-link:hover::after,
.article-card-btn:hover::after {
    transform: translateX(0);
}

/* ==================== */
/* Enhanced Typography */
/* ==================== */

.hero-title {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.4s;
}

.section-header:hover .section-title::after {
    width: 100px;
}

/* ==================== */
/* Enhanced Contact Section */
/* ==================== */

.contacts-item {
    transition: all 0.3s;
    padding: 10px;
    border-radius: 5px;
}

.contacts-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contacts-item i {
    transition: all 0.3s;
}

.contacts-item:hover i {
    transform: scale(1.2);
}

/* ==================== */
/* Enhanced Footer */
/* ==================== */

.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

/* ==================== */
/* Responsive Adjustments */
/* ==================== */

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

.hero-content {
        animation: none;
    }

.hero-btn.primary {
        animation: none;
    }