/* Section Styling */
section
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    width: 90%;
}

/* News Cards */
.news-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.news-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

.news-card img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    background-position: center center;
}

.news-card h3 {
    font-size: 15px;
    margin-top: 10px;
    color: #00796b;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 14px;
    color: #555;
}

.news-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #00796b;
    font-weight: bold;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* Events Section */
.event-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

.event-card h3 {
    font-size: 20px;
    color: #d84315;
}

.event-card p {
    font-size: 14px;
    color: #555;
}

.event-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #d84315;
    font-weight: bold;
}

.event-card:hover {
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-container,
    .event-container {
        flex-direction: column;
        align-items: center;
    }

    .news-card,
    .event-card {
        width: 90%;
    }
}