 /* Общие стили */
        html {
            scroll-behavior: smooth;
        }
          :root {
            --primary-color: #0d6efd;
            --secondary-color: #6c757d;
            --dark-color: #212529;
            --light-color: #f8f9fa;
            --transition: all 0.3s ease;
            --accent-color: #ff6b6b;
            --text-color: #333;

            --light-bg: #f8fafc;
            --card-bg: #ffffff;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --border-light: #e2e8f0;
        }
        section {
            padding: 80px 0;
        }
        
        /* Стили для навигации */
        .navbar {
            transition: all 0.3s ease;
            padding: 15px 0;
        }
        
        .navbar.scrolled {
            background-color: rgba(0, 0, 0, 0.9) !important;
            padding: 10px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-brand {
            font-weight: bold;
            font-size: 1.5rem;
        }

 .navbar .nav-link.active {
            color: var(--text-secondary);

        }
 .video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }
        
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: -1;
        }
        /* Стили для блока с фоновым изображением */
        .hero-section {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }
        
        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/template/media/main.jpg');
            background-size: cover;
            background-position: center;
            z-index: -1;
        }
        
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: -1;
        }
        
        .hero-content {
            max-width: 800px;
            padding: 0 20px;
        }
        
           .feedback-section {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            padding: 80px 0;
        }
        .feedback-content {
            padding-right: 30px;
        }
     .feedback-image-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .feedback-image {
            width: 280px;
            height: 280px;
            border-radius: 50%;
            overflow: hidden;
            border: 8px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            position: relative;
            transition: transform 0.5s ease, box-shadow 0.5s ease;
        }
        
        .feedback-image:hover {
            transform: scale(1.05);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
        .contact-form {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .form-control {
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 8px;
            padding: 12px 15px;
            margin-bottom: 20px;
        }
        .form-control:focus {
            background: white;
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
        }
        .btn-primary {
            background: #ff6b6b;
            border: none;
            border-radius: 8px;
            padding: 12px 30px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .btn-primary:hover {
            background: #ff5252;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }
   
 
        @media (max-width: 768px) {
            .feedback-content {
                padding-right: 0;
                margin-bottom: 30px;
            }
            .feedback-section {
                padding: 50px 0;
            }
   .feedback-image {
                width: 280px;
                height: 280px;
            }
        }
        
        /* Стили для блока контактов */


        
        
        .social-icons a {
            display: inline-block;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            text-align: center;
            line-height: 50px;
            margin: 0 10px;
            transition: all 0.3s ease;
        }
        
        .social-icons a:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: translateY(-5px);
        }
        
        .contact-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            padding: 30px;
            height: 100%;
            transition: transform 0.3s ease;
        }
        .contact-card a{
            color: #fff;
            text-decoration: none;

        }
        .contact-card:hover {
            transform: translateY(-10px);
        }
        
       
        
/* Стили для блока "Обо мне" */
   .about-section {
            padding: 80px 0;
            position: relative;
            min-height: 100vh;
            display: flex;
            align-items: center;
            background: 
                linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
            overflow: hidden;
        }
        
        /* Текстурированный фон со светлыми элементами */
        .about-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.03) 0%, transparent 25%),
                radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 25%),
                radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.02) 0%, transparent 25%);
            animation: gentle-pulse 20s ease-in-out infinite;
            z-index: 0;
        }
        
        @keyframes gentle-pulse {
            0%, 100% {
                opacity: 0.5;
                transform: scale(1);
            }
            50% {
                opacity: 0.8;
                transform: scale(1.01);
            }
        }
        
        /* Светлые геометрические элементы фона */
        .light-element {
            position: absolute;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.03) 100%);
            animation: gentle-float 30s infinite linear;
            z-index: 0;
            border: 1px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(5px);
        }
        
        .light-element:nth-child(1) {
            width: 140px;
            height: 140px;
            top: 15%;
            left: 8%;
            animation-duration: 35s;
            border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
        }
        
        .light-element:nth-child(2) {
            width: 90px;
            height: 90px;
            top: 65%;
            left: 88%;
            animation-duration: 28s;
            animation-delay: 3s;
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        }
        
        .light-element:nth-child(3) {
            width: 160px;
            height: 160px;
            top: 25%;
            left: 82%;
            animation-duration: 40s;
            animation-delay: 1s;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        }
        
        .light-element:nth-child(4) {
            width: 110px;
            height: 110px;
            top: 75%;
            left: 12%;
            animation-duration: 32s;
            animation-delay: 4s;
            border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
        }
        
        @keyframes gentle-float {
            0% {
                transform: translateY(0) rotate(0deg) scale(1);
                opacity: 0.4;
            }
            33% {
                transform: translateY(-15px) rotate(120deg) scale(1.05);
                opacity: 0.6;
            }
            66% {
                transform: translateY(8px) rotate(240deg) scale(0.95);
                opacity: 0.5;
            }
            100% {
                transform: translateY(0) rotate(360deg) scale(1);
                opacity: 0.4;
            }
        }
        
        .about-section .container {
            position: relative;
            z-index: 1;
        }
        
        .personal-info-card {
            background: linear-gradient(135deg, var(--card-bg) 0%, #f8fafc 100%);
            color: var(--text-primary);
            border-radius: 20px;
            padding: 32px;
            box-shadow: 
                0 8px 25px rgba(0, 0, 0, 0.06),
                0 2px 4px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
            border: 1px solid var(--border-light);
        }
        
        .personal-info-card:hover {
            transform: translateY(-8px);
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.1),
                0 5px 15px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }
        
        .personal-info-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .personal-info-card:hover::before {
            opacity: 1;
        }
        
        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 22px;
            position: relative;
            z-index: 1;
        }
        
        .info-item:last-child {
            margin-bottom: 0;
        }
        
        .info-icon {
            width: 52px;
            height: 52px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            font-size: 22px;
            color: white;
            box-shadow: 0 6px 15px rgba(79, 70, 229, 0.25);
            transition: all 0.3s ease;
        }
        
        .info-item:hover .info-icon {
            transform: scale(1.08) rotate(5deg);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
        }
        
        .info-content h5 {
            margin: 0;
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 500;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        
        .info-content p {
            margin: 6px 0 0 0;
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .photo-card {
            background: linear-gradient(135deg, var(--card-bg) 0%, #f8fafc 100%);
            border-radius: 20px;
            padding: 28px;
            box-shadow: 
                0 8px 25px rgba(0, 0, 0, 0.06),
                0 2px 4px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
            margin-bottom: 30px;
            transition: all 0.4s ease;
            text-align: center;
            border: 1px solid var(--border-light);
            position: relative;
            overflow: hidden;
        }
        
        .photo-card:hover {
            transform: translateY(-8px);
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.1),
                0 5px 15px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }
        
        .photo-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .photo-card:hover::before {
            opacity: 1;
        }
        
        .photo-frame {
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            margin-bottom: 22px;
            border: 4px solid white;
            position: relative;
            z-index: 1;
            transition: all 0.4s ease;
        }
        
        .photo-card:hover .photo-frame {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
            transform: scale(1.02);
        }
        
        .photo-frame img {
            width: 100%;
            height: auto;
            transition: transform 0.6s ease;
            display: block;
        }
        
        .photo-card:hover .photo-frame img {
            transform: scale(1.08);
        }
        
        .photo-caption {
            font-weight: 700;
            color: var(--text-primary);
            font-size: 22px;
            margin-bottom: 6px;
            position: relative;
            z-index: 1;
        }
        
        .photo-card .text-muted {
            color: var(--text-secondary) !important;
            position: relative;
            z-index: 1;
            font-size: 15px;
        }
        
        .about-section h3 {
            color: var(--text-primary);
            margin-bottom: 28px;
            font-weight: 700;
            position: relative;
            display: inline-block;
            font-size: 34px;
        }
        
        .about-section h3::after {
            content: '';
            position: absolute;
            bottom: -14px;
            left: 0;
            width: 75px;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
            border-radius: 2px;
        }
        
        .about-section h4 {
            color: var(--text-primary);
            margin-top: 38px;
            margin-bottom: 20px;
            font-weight: 600;
            font-size: 24px;
        }
        
        .about-section p {
            line-height: 1.7;
            margin-bottom: 20px;
            color: var(--text-secondary);
            font-size: 16px;
        }
        
        .timeline-section {
            margin-top: 55px;
        }
        
        .timeline-item {
            position: relative;
            padding-left: 38px;
            margin-bottom: 38px;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
            box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.15);
            transition: all 0.3s ease;
        }
        
        .timeline-item:hover::before {
            transform: scale(1.2);
            box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.2);
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            left: 8px;
            top: 28px;
            width: 2px;
            height: calc(100% + 10px);
            background: linear-gradient(to bottom, var(--primary-color) 0%, transparent 100%);
            opacity: 0.2;
        }
        
        .timeline-item:last-child::after {
            display: none;
        }
        
        .timeline-year {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 16px;
            letter-spacing: 0.5px;
            background: rgba(79, 70, 229, 0.08);
            padding: 6px 14px;
            border-radius: 20px;
            display: inline-block;
        }
        
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 75px;
            position: relative;
        }
        
        .section-title h2 {
            color: var(--text-primary);
            font-weight: 700;
            margin-bottom: 22px;
            font-size: 44px;
        }
        
        .section-title p {
            color: var(--text-secondary);
            font-size: 18px;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -18px;
            left: 50%;
            transform: translateX(-50%);
            width: 110px;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
            border-radius: 2px;
        }
        
        .content-block {
            background: linear-gradient(135deg, var(--card-bg) 0%, #f8fafc 100%);
            border-radius: 20px;
            padding: 48px;
            box-shadow: 
                0 8px 25px rgba(0, 0, 0, 0.06),
                0 2px 4px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
            margin-bottom: 30px;
            border: 1px solid var(--border-light);
            position: relative;
            transition: all 0.4s ease;
        }
        
        .content-block:hover {
            box-shadow: 
                0 15px 35px rgba(0, 0, 0, 0.1),
                0 5px 15px rgba(0, 0, 0, 0.04),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
        }
        
        .content-block::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, transparent 50%);
            border-radius: 20px;
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .content-block:hover::before {
            opacity: 1;
        }
        
        @media (max-width: 768px) {
            .content-block {
                padding: 32px;
            }
            
            .section-title h2 {
                font-size: 36px;
            }
            
            .about-section h3 {
                font-size: 28px;
            }
            
            .personal-info-card,
            .photo-card {
                padding: 24px;
            }
        }
/* стили медиа*/
 .media-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
        }
        
        .section-title {
            position: relative;
            margin-bottom: 50px;
            text-align: center;
            font-weight: 700;
            color: var(--dark-color);
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--primary-color);
            margin: 15px auto 0;
            border-radius: 2px;
        }
        
        .section-subtitle {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 50px;
            color: var(--secondary-color);
            line-height: 1.6;
        }
        
        .media-tabs .nav-link {
            color: var(--secondary-color);
            font-weight: 500;
            padding: 12px 25px;
            border-radius: 30px;
            margin: 0 5px;
            transition: var(--transition);
        }
        
        .media-tabs .nav-link:hover {
            background-color: rgba(13, 110, 253, 0.1);
            color: var(--primary-color);
        }
        
        .media-tabs .nav-link.active {
            color: white;
            background-color: var(--primary-color);
            box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
        }
        
        .media-card {
            transition: var(--transition);
            margin-bottom: 30px;
            border: none;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            overflow: hidden;
            position: relative;
            height: 300px;
        }
        
        .media-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .media-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .media-card:hover img {
            transform: scale(1.1);
        }
        
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 соотношение сторон */
            height: 0;
            overflow: hidden;
            border-radius: 12px 12px 0 0;
        }
        
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
        
        .card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            padding: 20px;
            transform: translateY(100%);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        
        .media-card:hover .card-overlay {
            transform: translateY(0);
        }
        
        .card-title {
            font-weight: 600;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }
        
        .card-text {
            font-size: 0.9rem;
            opacity: 0.9;
            line-height: 1.5;
        }
        
        .media-icon {
            font-size: 1.2rem;
            margin-right: 8px;
        }
        
        .video-card .card-body {
            padding: 20px;
            background: white;
            border-radius: 0 0 12px 12px;
        }
        
        .video-card .card-title {
            color: var(--dark-color);
            margin-bottom: 10px;
        }
        
        .video-card .card-text {
            color: var(--secondary-color);
            margin-bottom: 0;
        }
        
        .badge-media {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--primary-color);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            z-index: 10;
        }
        
        @media (max-width: 768px) {
            .media-card {
                height: 250px;
            }
            
            .media-tabs .nav-link {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
        }
 /* Хлебные крошки */
        .breadcrumb-container {
            background: white;
            border-radius: 12px;
            padding: 1rem 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .breadcrumb {
            margin: 0;
            background: transparent;
            padding: 0;
        }
        
        .breadcrumb-item a {
            color: var(--primary-color);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .breadcrumb-item a:hover {
            color: var(--secondary-color);
        }
        
        .breadcrumb-item.active {
            color: var(--gray-color);
        }
        
        .breadcrumb-item + .breadcrumb-item::before {
            content: "›";
            color: var(--gray-color);
        }
/* Информация о статье */
        .article-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding: 1rem 0;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            color: var(--gray-color);
            font-size: 0.9rem;
        }
        
        .meta-item i {
            margin-right: 0.5rem;
            color: var(--accent-color);
        }
        
        .meta-badge {
            background: var(--primary-color);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
        }
/* Стили для изображения статьи */
        .article-image-container {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }
        
        .article-image-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .article-image {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .article-image-container:hover .article-image {
            transform: scale(1.03);
        }
        
        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            padding: 2rem 1.5rem 1.5rem;
            opacity: 0;
            transition: var(--transition);
        }
        
        .article-image-container:hover .image-overlay {
            opacity: 1;
        }
        
        .image-caption {
            font-size: 0.9rem;
            margin-top: 0.5rem;
            opacity: 0.9;
        }
 /* Стили для основного контента */
        .article-body {
            background: white;
            border-radius: 12px;
            padding: 2.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        

        

        
        /* Стили для выделенного блока */
        .highlight-box {
            background: linear-gradient(135deg, #f0f7ff, #e1eeff);
            border-left: 4px solid var(--primary-color);
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
        }
        
        .highlight-box h3 {
            color: var(--primary-color);
            margin-top: 0;
        }
        
        /* Стили для цитаты */
        blockquote {
            border-left: 4px solid var(--primary-color);
            padding: 1.5rem;
            margin: 2rem 0;
            background: #f8f9fa;
            border-radius: 0 8px 8px 0;
            font-style: italic;
            position: relative;
        }
        
        blockquote:before {
            content: """;
            font-size: 4rem;
            color: var(--primary-color);
            opacity: 0.2;
            position: absolute;
            top: -1rem;
            left: 0.5rem;
            font-family: Georgia, serif;
        }
        
        
/* Blog Cards */
        .blog-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            margin-bottom: 30px;
            background: white;
        }
        
        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }
        
        .card-img-top {
            height: 220px;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .blog-card:hover .card-img-top {
            transform: scale(1.05);
        }
        
        .card-body {
            padding: 25px;
        }
        
        .blog-card-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--dark-color);
        }
        
        .blog-card-text {
            color: var(--text-color);
            margin-bottom: 20px;
        }
        
        .category-badge {
            background-color: var(--primary-color);
            color: white;
            padding: 5px 15px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
            display: inline-block;
            margin-bottom: 15px;
        }
        
        .read-more {
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            transition: var(--transition);
        }
        
        .read-more i {
            margin-left: 5px;
            transition: var(--transition);
        }
        
        .read-more:hover {
            color: var(--secondary-color);
        }
        
        .read-more:hover i {
            transform: translateX(5px);
        }
        
        /* Sidebar */
        .sidebar-widget {
            background: white;
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }
        
        .widget-title {
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0f0f0;
            position: relative;
        }
        
        .widget-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
        }
        
        .popular-post {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .popular-post:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .popular-post-img {
            width: 70px;
            height: 70px;
            border-radius: 10px;
            object-fit: cover;
            margin-right: 15px;
        }
        
        .popular-post-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .popular-post-date {
            font-size: 0.8rem;
            color: #888;
        }
        
        .tag {
            display: inline-block;
            background-color: #f0f0f0;
            color: var(--text-color);
            padding: 5px 15px;
            border-radius: 50px;
            margin: 0 5px 10px 0;
            font-size: 0.85rem;
            transition: var(--transition);
        }
        
        .tag:hover {
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
        }
        .btn-view-all {
            background: var(--primary-color);
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            font-weight: 600;
            transition: var(--transition);
            border: 2px solid var(--primary-color);
            display: inline-flex;
            align-items: center;
            margin: 30px auto 0;
        }
        
        .btn-view-all:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(76, 117, 163, 0.2);
        }
        
        .btn-view-all i {
            margin-left: 8px;
            transition: var(--transition);
        }
        
        .btn-view-all:hover i {
            transform: translateX(5px);
        }
        
        /* Анимации */

        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Стили для футера */
        footer {
            background-color: #343a40;
            color: white;
            padding: 40px 0 20px;
        }
 @media (max-width: 991px) {
            .article-body {
                padding: 1.5rem;
            }
            
            .article-image {
                height: 300px;
            }
        }
        
        @media (max-width: 767px) {
            .article-image {
                height: 250px;
            }
 .article-meta {
                gap: 1rem;
            }
}