/* Blog Page Specific Styles */
/* Blog Hero Section */
.blog-hero {
    padding: 90px 0 80px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    text-align: center;
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Controls */
.blog-controls {
    display: flex;
    gap: 20px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    position: relative;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 50px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.filter-box select {
    padding: 15px 30px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

/* Featured Post */
.featured-post {
    margin-bottom: 50px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.featured-image {
    position: relative;
    height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.featured-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: #666;
    margin-bottom: 15px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
}

.post-image {
    position: relative;
    height: 200px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.page-link.active,
.page-link:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

.page-link.next {
    width: auto;
    padding: 0 20px;
    border-radius: 20px;
    gap: 5px;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    padding: 80px 0;
    margin-top: 80px;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
}
/* Blog heading styles */
.blog-content h2.text-center {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    display: flex;
}

/* Search and filter container spacing */
.blog-controls {
    margin-top: 2rem;
    margin-bottom: 3rem;
}
footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
    cursor: pointer;
}

a {
    color:white;
    text-decoration: none;
  }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
a {
    color:white;
    text-decoration: none;
  }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Notification animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification {
    animation: slideIn 0.3s ease-out;
}
/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    /* Reduce overall content size */
    .blog-hero {
        padding: 40px 15px;
    }

    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .blog-hero p {
        font-size: 0.9rem;
    }

    /* Compact blog grid */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .blog-post {
        border-radius: 10px;
    }

    .post-image {
        height: 150px;
    }

    .post-content {
        padding: 15px;
    }

    .post-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .post-content p {
        font-size: 0.9rem;
    }

    /* Compact featured post */
    .featured-post {
        border-radius: 10px;
    }

    .featured-image {
        height: 200px;
    }

    .featured-content {
        padding: 15px;
    }

    .featured-content h2 {
        font-size: 1.3rem;
    }

    /* Compact pagination */
    .pagination {
        gap: 5px;
        margin-top: 30px;
    }

    .page-link {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}