/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: #121212; /* Black background */
    color: #e0e0e0; /* Light gray text */
}
header {
    background-color: #1e1e1e; /* Dark gray */
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #d1c4ff; /* Soft purple */
}
header p {
    margin-top: 0.5rem;
    color: #a8a8a8; /* Gray */
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background: #1a1a1a; /* Slightly lighter black */
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
nav a {
    color: #d1c4ff; /* Soft purple */
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
}
nav a:hover {
    color: #ffffff; /* Bright white */
    transform: scale(1.1);
}

/* News Section */
.news-container {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}
.news-card {
    background: #1e1e1e; /* Dark gray */
    border: 1px solid #333; /* Slightly lighter border */
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}
.news-card h2 {
    color: #d1c4ff; /* Soft purple */
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.news-card p {
    color: #b8b8b8; /* Light gray */
    line-height: 1.6;
}
.news-card a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #5a4ebc; /* Purple */
    color: #ffffff; /* White */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
}
.news-card a:hover {
    background: #4831a6; /* Darker purple */
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #1a1a1a; /* Dark black-gray */
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}
footer p {
    color: #a8a8a8; /* Light gray */
}