/* Blog Hero Section */
.blog-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #3c3d63 0%, #001629 100%);
    color: #fff;
}

.blog-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-box {
    position: relative;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    height: 60px;
    padding: 0 60px 0 25px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 50px;
    width: 50px;
    border: none;
    border-radius: 25px;
    background: #0066ff;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: #0052cc;
}

.hero-image {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Featured Posts */
.featured-posts {
    padding: 30px 0;
    background: #fff;
}

.featured-posts h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #3c3d63;
    text-align: center;
}
.latest-posts h2 {
    font-size: 32px;
    font-weight: 700;
    
    color: #3c3d63;
}

.main-featured-post {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-featured-post img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.main-featured-post .post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.post-category {
    display: inline-block;
    padding: 8px 15px;
    background: #0066ff;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.main-featured-post h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.post-meta i {
    margin-right: 5px;
}

.side-featured-post {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.side-featured-post img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.side-featured-post .post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
}

.side-featured-post h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0;
}

/* Latest Posts */
.latest-posts {
    padding: 80px 0;
    background: #f8f9ff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.category-filter {
    display: flex;
    gap: 10px;
}

.category-filter button {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-filter button.active,
.category-filter button:hover {
    background: #0066ff;
    border-color: #0066ff;
    color: #fff;
}

.post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.post-card .post-image {
    position: relative;
}

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

.post-card .post-category {
    position: absolute;
    top: 15px;
    left: 15px;
}

.post-card .post-content {
    padding: 25px;
}

.post-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.post-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3c3d63 0%, #001629 100%);
    color: #fff;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    height: 50px;
    padding: 0 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0 30px;
    border-radius: 25px;
    font-weight: 500;
    background: #1a1a1a;
    border: none;
}

.newsletter-form button:hover {
    background: #333;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .category-filter {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        padding: 60px 0;
        text-align: center;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .search-box {
        margin: 0 auto;
    }

    .hero-image {
        margin-top: 40px;
    }

    .main-featured-post h3 {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .post-card h3 {
        font-size: 1.2rem;
    }

    .category-filter button {
        font-size: 0.9rem;
        padding: 6px 15px;
    }
} 


.breadcrumb {
    background: transparent;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">" !important;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}