.news {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.news h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
}

.news-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 30%;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: scale(1.05);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.read-more {
    font-size: 1em;
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}
