/* Blog Hero Section */
.blog-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.blog-hero-title {
    color: var(--primary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-hero-description {
    color: #666;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Blog Categories */
.blog-categories {
    padding: 40px 0;
    background-color: white;
    border-bottom: 1px solid var(--primary-light);
}

.categories-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-btn {
    padding: 10px 20px;
    border: 1px solid var(--primary-light);
    border-radius: 25px;
    background: white;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Blog Posts */
.blog-posts {
    padding: 80px 0;
    background-color: var(--primary-light);
}

.btn{
        margin-top: 15px;
        width: 100%;
        padding: 12px;
        font-weight: 500;
        border-radius: 5px;
        transition: all 0.3s ease;
        border: none;
        outline: none;
    }
    

/* Featured Post */
.featured-post {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.featured-post-content {
    padding-right: 40px;
}

.featured-post-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-post-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.featured-post-image:hover img {
    transform: scale(1.05);
}

/* Blog Post Cards */
.blog-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.post-image {
    width: 400px;
    height: 300px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 25px;
}

.post-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.post-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.read-more-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    gap: 10px;
}

/* Pagination */
.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    gap: 10px;
}

.page-link {
    color: var(--primary);
    border: 1px solid var(--primary-light);
    padding: 8px 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-item.active .page-link {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: white;
}

.newsletter-title {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-description {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    padding: 12px;
    border: 1px solid var(--primary-light);
    border-radius: 5px 0 0 5px;
}

.newsletter-form .btn {
    padding: 12px 25px;
    border-radius: 0 5px 5px 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .blog-hero {
        padding: 60px 0;
    }

    .blog-hero-title {
        font-size: 2.5rem;
    }

    .featured-post-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-hero-description {
        font-size: 1.1rem;
    }

    .categories-container {
        gap: 10px;
    }

    .category-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .featured-post {
        padding: 30px;
    }
}

@media (max-width: 575px) {
    .blog-hero {
        padding: 40px 0;
    }

    .post-image {
        height: 180px;
    }

    .post-content {
        padding: 20px;
    }
} 

