
@import url('https://fonts.googleapis.com/css2?family=SolaimanLipi&family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #e74c3c;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
        }
        
        body {
            font-family: 'SolaimanLipi', 'Hind Siliguri', sans-serif;
            background-color: #f5f7fb;
            color: #333;
            line-height: 1.7;
        }
        
        .blog-header {
            /* background: linear-gradient(to right, var(--primary-color), #4a6582); */
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/nature.jpg') no-repeat center center;
                background-size: cover;
            color: white;
            padding: 100px 0 60px;
            text-align: center;
        }
        
        .blog-header h1 {
            font-size: 3rem;
            margin-bottom: 20px;
        }
        
        .blog-header p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .blog-container {
            max-width: 1200px;
            margin: -40px auto 50px;
            position: relative;
        }
        
        .blog-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-bottom: 30px;
            transition: all 0.3s ease;
        }
        
        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }
        
        .blog-img {
            height: 300px;
            overflow: hidden;
        }
        
        .blog-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .blog-card:hover .blog-img img {
            transform: scale(1.05);
        }
        
        .blog-content {
            padding: 30px;
        }
        
        .blog-meta {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            color: #666;
            font-size: 0.9rem;
        }
        
        .blog-meta i {
            margin-right: 5px;
            color: var(--secondary-color);
        }
        
        .blog-meta span {
            margin-right: 20px;
        }
        
        .blog-author {
            display: flex;
            align-items: center;
        }
        
        .blog-author img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 10px;
            object-fit: cover;
        }
        
        .blog-title {
            font-size: 1.8rem;
            margin-bottom: 15px;
            color: var(--primary-color);
        }
        
        .blog-excerpt {
            margin-bottom: 20px;
            color: #555;
        }
        
        .blog-categories {
            margin-bottom: 20px;
        }
        
        .blog-category {
            display: inline-block;
            background: #e1f0ff;
            color: var(--primary-color);
            padding: 5px 15px;
            border-radius: 30px;
            font-size: 0.9rem;
            margin-right: 10px;
            margin-bottom: 10px;
        }
        
        .read-more-btn {
            display: inline-block;
            background: var(--primary-color);
            color: white;
            padding: 10px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .read-more-btn:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
        }
        
        .sidebar {
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .sidebar-title {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 25px;
            border-bottom: 2px solid #f0f0f0;
            color: var(--primary-color);
        }
        
        .sidebar-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 80px;
            height: 2px;
            background: var(--secondary-color);
        }
        
        .search-form {
            position: relative;
            margin-bottom: 30px;
        }
        
        .search-input {
            width: 100%;
            padding: 12px 50px 12px 20px;
            border: 1px solid #ddd;
            border-radius: 30px;
            font-size: 1rem;
        }
        
        .search-btn {
            position: absolute;
            right: 5px;
            top: 5px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .category-list {
            list-style: none;
            padding: 0;
        }
        
        .category-list li {
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .category-list li:last-child {
            border-bottom: none;
        }
        
        .category-list a {
            color: #555;
            text-decoration: none;
            transition: all 0.3s;
            display: flex;
            justify-content: space-between;
        }
        
        .category-list a:hover {
            color: var(--secondary-color);
        }
        
        .category-list span {
            background: #f0f7ff;
            color: var(--primary-color);
            padding: 2px 10px;
            border-radius: 30px;
            font-size: 0.9rem;
        }
        
        .recent-post {
            display: flex;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .recent-post:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .recent-post-img {
            width: 80px;
            height: 80px;
            border-radius: 10px;
            overflow: hidden;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .recent-post-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .recent-post-content h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
        
        .recent-post-content p {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 0;
        }
        
        .tags-container {
            display: flex;
            flex-wrap: wrap;
        }
        
        .tag {
            display: inline-block;
            background: #f0f7ff;
            color: var(--primary-color);
            padding: 6px 15px;
            border-radius: 30px;
            font-size: 0.9rem;
            margin: 0 5px 10px 0;
            transition: all 0.3s;
        }
        
        .tag:hover {
            background: var(--primary-color);
            color: white;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .page-item {
            margin: 0 5px;
        }
        
        .page-link {
            width: 45px;
            height: 45px;
            border-radius: 50% !important;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            color: var(--primary-color);
            font-weight: 600;
        }
        
        .page-item.active .page-link {
            background: var(--primary-color);
            color: white;
        }
        
        .page-link:hover {
            background: #f0f7ff;
            color: var(--primary-color);
        }
        
        .newsletter-form {
            background: linear-gradient(to right, var(--primary-color), #4a6582);
            border-radius: 15px;
            padding: 30px;
            color: white;
            text-align: center;
            margin: 40px 0;
        }
        
        .newsletter-form h3 {
            margin-bottom: 20px;
        }
        
        .newsletter-form p {
            max-width: 600px;
            margin: 0 auto 25px;
        }
        
        .newsletter-input-group {
            max-width: 500px;
            margin: 0 auto;
        }
        
        .newsletter-input {
            padding: 15px 20px;
            border: none;
            border-radius: 30px 0 0 30px;
            width: 70%;
        }
        
        .newsletter-btn {
            padding: 15px 30px;
            border: none;
            border-radius: 0 30px 30px 0;
            background: var(--secondary-color);
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .newsletter-btn:hover {
            background: #c0392b;
        }
        
        @media (max-width: 768px) {
            .blog-header {
                padding: 80px 0 40px;
            }
            
            .blog-header h1 {
                font-size: 2.2rem;
            }
            
            .blog-img {
                height: 200px;
            }
            
            .blog-title {
                font-size: 1.5rem;
            }
        }




        @media (max-width: 576px) {
            .blog-header h1 {
                font-size: 1.8rem;
            }
            
            .blog-card {
                margin-bottom: 20px;
            }
            
            .blog-img {
                height: 150px;
            }
            
            .blog-title {
                font-size: 1.3rem;
            }
            
            .sidebar {
                padding: 20px;
            }
            
            .newsletter-form {
                padding: 20px;
            }
        }