/* News Section Redesign */
.news-section {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
}

.news-tagline {
    display: inline-block;
    color: #f7a400;
    /* Gold */
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.news-headline {
    font-size: 42px;
    font-weight: 800;
    color: #14176c;
    /* Navy */
    margin-bottom: 50px;
}

.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(20, 23, 108, 0.05);
    transition: all 0.4s ease;
    text-decoration: none;
    border: 1px solid #14176C;
    position: relative;
    z-index: 1;
}

.news-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #14176c;
    /* Navy Background */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(20, 23, 108, 0.15);
    border-color: transparent;
}

.news-card:hover::before {
    height: 100%;
}

.news-card-image-wrap {
    position: relative;
    padding: 15px 15px 0 15px;
    z-index: 2;
    /* Ensure image is above background fill */
}

.news-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.03);
}

.news-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    /* Ensure content is above background fill */
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-category {
    background: rgba(20, 23, 108, 0.05);
    color: #14176c;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.news-card:hover .news-category {
    background: #f7a400;
    color: #ffffff;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5f6c7b;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-card:hover .news-date {
    color: rgba(255, 255, 255, 0.8);
}

.news-date i {
    color: #f7a400;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #14176c;
    line-height: 1.4;
    margin-bottom: 5px;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: #ffffff;
}

.news-excerpt {
    font-size: 14px;
    color: #5f6c7b;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.news-card:hover .news-excerpt {
    color: rgba(255, 255, 255, 0.8);
}

.news-author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.news-author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.news-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #5f6c7b;
}

.news-author-name span {
    color: #14176c;
}

.news-all-btn-wrap {
    margin-top: 60px;
}

.btn-news-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #14176c;
    color: #ffffff !important;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-news-all:hover {
    background: #f7a400;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 164, 0, 0.2);
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .news-headline {
        font-size: 32px;
    }
}