/* Hero Section */
    .hero {
        padding-top: 70px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1596755389378-c31d21fd1273?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80');
        background-size: cover;
        background-position: center;
        height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: var(--pure-white);
        margin-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 48px;
        margin-bottom: 20px;
        color: var(--pure-white);
        animation: fadeIn 1s ease-out;
    }
    
    .hero-content p {
        font-size: 18px;
        max-width: 600px;
        margin: 0 auto 30px;
        animation: fadeIn 1.2s ease-out;
    }
    
    /* Categories Section */
    .categories {
        padding: 60px 0;
        text-align: center;
    }
    
    .categories h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .category-list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .category-item {
        padding: 10px 20px;
        background-color: var(--pure-white);
        border: 1px solid var(--accent-color);
        border-radius: 30px;
        color: var(--text-color);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .category-item:hover, 
    .category-item.active {
        background-color: var(--shea-butter);
        color: var(--pure-white);
    }
    
    /* Featured Posts */
    .featured-posts {
        padding: 40px 0;
    }
    
    .section-title {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 36px;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }
    
    .section-title h2:after {
        content: '';
        position: absolute;
        width: 60px;
        height: 3px;
        background-color: var(--primary-color);
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .featured-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .post-card {
        background-color: var(--pure-white);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px var(--light-shadow);
        transition: all 0.3s ease;
        animation: fadeIn 0.8s ease-out;
    }
    
    .post-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px var(--light-shadow);
    }
    
    .post-image {
        height: 200px;
        overflow: hidden;
    }
    
    .post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .post-card:hover .post-image img {
        transform: scale(1.05);
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-category {
        display: inline-block;
        padding: 5px 10px;
        background-color: var(--secondary-color);
        color: var(--pure-white);
        font-size: 12px;
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .post-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .post-excerpt {
        color: var(--text-color);
        margin-bottom: 15px;
        font-size: 14px;
    }
    
    .post-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        color: #888;
    }
    
    .post-author {
        display: flex;
        align-items: center;
    }
    
    .post-author img {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin-right: 10px;
    }

    .hidden { 
        display: none !important; 
    }
    
    /* Newsletter */
    .newsletter {
        background-color: var(--olive-green);
        color: var(--pure-white);
        padding: 60px 0;
    }

    .newsletter-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .newsletter h2 {
        color: var(--pure-white);
        margin-bottom: 20px;
        font-size: 2rem;
    }

    .newsletter p {
        margin-bottom: 30px;
        max-width: 600px;
    }

    .newsletter-form {
        display: flex;
        max-width: 500px;
        width: 100%;
    }

    .newsletter-form input {
        flex: 1;
        padding: 15px 20px;
        border: none;
        border-radius: 30px 0 0 30px;
        font-size: 1rem;
        outline: none;
    }

    .newsletter-form button {
        padding: 0 30px;
        background-color: var(--shea-butter);
        color: var(--pure-white);
        border: none;
        border-radius: 0 30px 30px 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .newsletter-form button:hover {
        background-color: var(--cocoa-brown);
    }
    
    @keyframes bounceIn {
        0% { transform: scale(0); opacity: 0; }
        60% { transform: scale(1.1); }
        100% { transform: scale(1); opacity: 1; }
    }

    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes heartbeat {
        0% { transform: scale(1); }
        50% { transform: scale(1.1); }
        100% { transform: scale(1); }
    }
    /* Responsive Styles */
    @media (max-width: 768px) {
        .hero {
            height: 60vh;
        }

        .hero-content{
            padding: 3px;
        }
        
        .hero-content h1 {
            font-size: 32px;
        }
        
        .newsletter-form {
            flex-direction: column;
        }
        
        .newsletter-form input {
            border-radius: 4px;
            margin-bottom: 10px;
        }
        
        .newsletter-form button {
            border-radius: 4px;
            padding: 15px;
        }
        
        .footer-content {
            grid-template-columns: 1fr;
        }
    }