/* News Section Styles */
.news-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.news-loading,
.news-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.news-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

.news-error {
    color: #dc3545;
}

.news-error i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1e3a5f;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}

.news-read-more {
    color: #1e3a5f;
    text-decoration: none;
    font-weight: 500;
    padding: 0;
}

.news-read-more:hover {
    color: #0056b3;
    text-decoration: none;
}

#refreshNews {
    transition: transform 0.3s ease;
}


/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(30, 58, 95, 0.1);
    color: #1e3a5f;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}