   /* Articles Section Styles */
   .articles-section {
    margin-top: 40px;
    padding: 20px;
    background: var(--dim-green);
    border-radius: 12px;
    border: 2px solid var(--accent-green);
}

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

.articles-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.article-search {
    position: relative;
    width: 250px;
}

.article-search input {
    width: 100%;
    padding: 10px 15px 10px 35px;
    background: var(--accent-green);
    border: 1px solid var(--leaf-green);
    border-radius: 25px;
    color: var(--soft-white);
}

.article-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--petal-pink);
}

.earth-news-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1a3c34, #2e593f);
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-left: 15px;
    box-shadow: 0 4px 10px rgba(26, 60, 52, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulse 3s infinite ease-in-out;
}

.earth-news-btn .earth-icon {
    margin-right: 8px;
    font-size: 18px;
    transition: transform 0.5s ease;
}

.earth-news-btn .leaf-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"%3E%3Cpath fill=\"%2376C893\" fill-opacity=\"0.1\" d=\"M10 2c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6z\"/%3E%3C/svg%3E');
    opacity: 0.3;
    z-index: 0;
}

.earth-news-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(118, 200, 147, 0.4);
    background: linear-gradient(135deg, #2e593f, #1a3c34);
}

.earth-news-btn:hover .earth-icon {
    transform: rotate(360deg);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 10px rgba(26, 60, 52, 0.5);
    }
    50% {
        box-shadow: 0 4px 16px rgba(118, 200, 147, 0.7);
    }
}


@media (max-width: 680px) {
    .earth-news-btn {
        padding: 8px 12px;
    }
    .earth-news-btn span {
        display: none;
    }
    .earth-news-btn .earth-icon {
        margin-right: 10px;
    }
}

.add-article {
    background: var(--leaf-green);
    color: var(--soft-white);
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10%;
}

.add-article:hover {
    transform: translateY(-2px);
    background: #3d6941;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.article-card {
    background:  rgba(118, 200, 147, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--leaf-green);
}

.article-content {
    padding: 15px;
}

.article-title {
    color: var(--petal-pink);
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.article-title:hover {
    color: #ff8fa3;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: var(--soft-white);
    opacity: 0.8;
}

/* Article Form Modal */
.article-form-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dim-green);
    padding: 30px;
    border-radius: 15px;
    width: 600px;
    max-width: 90%;
    z-index: 1000;
}

.article-form-modal h3 {
    margin-bottom: 20px;
    color: var(--petal-pink);
}