:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #fbbc05;
    --dark-color: #202124;
    --light-color: #f8f9fa;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.card {
    border: none;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.card-text {
    color: #666;
    line-height: 1.4;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.finance-badge {
    background-color: rgba(26, 115, 232, 0.9);
    color: white;
}

.tech-badge {
    background-color: rgba(52, 168, 83, 0.9);
    color: white;
}

.digital-badge {
    background-color: rgba(251, 188, 5, 0.9);
    color: white;
}

.trending-news {
    background: linear-gradient(135deg, #f5f7fa, #e4edf9);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.trending-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 15px;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/static/images/header_bg.webp') center/cover no-repeat;
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 0 0 0 0;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px 0;
    border-radius: 20px;
}

.footer {
    background-color: var(--dark-color);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

.category-intro {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.intro-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.intro-text {
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

.highlight {
    background: linear-gradient(120deg, rgba(26, 115, 232, 0.1), rgba(52, 168, 83, 0.1));
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 115, 232, 0.25);
    border-color: var(--primary-color);
}

.wj-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 10px 25px;
    font-weight: 600;
}

.wj-btn-primary:hover {
    background: linear-gradient(135deg, #0d5bc0, #2a8e46);
}

.contact-form .form-control {
    margin-bottom: 20px;
}

.invalid-feedback {
    display: none;
    margin-top: -15px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .card-img-top {
        height: 180px;
    }
}