.blog-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.blog-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.section-description {
    text-align: center;
    color: #666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-post:hover {
    transform: translateY(-5px);
}

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

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

.blog-image img:hover {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.blog-post h3 {
    margin: 10px 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.blog-post h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post h3 a:hover {
    color: #3498db;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.blog-pagination {
    text-align: center;
    margin-top: 2rem;
}

.view-all-posts {
    display: inline-block;
    padding: 12px 24px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.view-all-posts:hover {
    background: #2980b9;
}

/* Blog Post Page Styles */
.blog-post-content {
    padding: 80px 0;
    background: #f9f9f9;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-content {
    line-height: 1.8;
    color: #333;
}

.blog-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.blog-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}



.related-posts {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-post {
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post h4 {
    padding: 1rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .blog-section h2 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-content {
        padding: 15px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .view-all-posts {
        width: 100%;
        display: block;
        text-align: center;
    }
}
