
/* Hero Section */
.hero-section {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

    .hero-section h1 {
        color: var(--primary-navy);
        font-weight: 700;
        line-height: 1.2;
    }

    .hero-section .lead {
        font-size: 1.125rem;
        color: var(--text-muted);
    }

/* Featured News Section */
.featured-news {
    background-color: var(--bg-light);
}

.featured-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.featured-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

    .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.badge-featured {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
}

.featured-content {
    padding: 2rem;
}

    .featured-content .badge {
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-weight: 500;
    }

    .featured-content h2 {
        color: var(--primary-navy);
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .featured-content .btn-primary {
        background-color: var(--primary-navy);
        border-color: var(--primary-navy);
        padding: 0.75rem 1.5rem;
    }

        .featured-content .btn-primary:hover {
            background-color: #0f1a2e;
        }

/* Trending News */
.trending-news {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
}

    .trending-news h4 {
        color: var(--primary-navy);
        font-weight: 700;
    }

.trending-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

    .trending-item:last-child {
        border-bottom: none;
    }

.trending-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--primary-orange);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 1rem;
}

.trending-content h6 {
    font-size: 0.95rem;
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.trending-content .small {
    font-size: 0.8rem;
}

/* Filter Buttons */
.filter-btn {
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .filter-btn:hover {
        border-color: var(--primary-navy);
        color: var(--primary-navy);
    }

    .filter-btn.active {
        background-color: var(--primary-navy);
        border-color: var(--primary-navy);
        color: white;
    }

/* News Cards */
.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

.news-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.badge-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-content h5 {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 1.1rem;
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-navy);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start;
}

    .read-more:hover {
        color: var(--primary-orange);
    }

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0f1a2e 100%);
    color: white;
}

.newsletter-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.newsletter-icon {
    font-size: 4rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.newsletter-content h2 {
    color: white;
    font-weight: 700;
}

.newsletter-content .lead {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form .form-control {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.5rem;
}

    .newsletter-form .form-control::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .newsletter-form .form-control:focus {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--primary-orange);
        color: white;
        box-shadow: none;
    }

.newsletter-form .btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    padding: 1rem 2rem;
    font-weight: 600;
}

    .newsletter-form .btn-primary:hover {
        background-color: #d97706;
        border-color: #d97706;
    }

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

        .hero-section h1 {
            font-size: 2rem;
        }

    .featured-image {
        height: 250px;
    }

    .featured-content {
        padding: 1.5rem;
    }

        .featured-content h2 {
            font-size: 1.5rem;
        }

    .trending-news {
        margin-top: 2rem;
    }

    .filter-btn {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }

    .newsletter-content {
        padding: 2rem 1.5rem;
    }

    .newsletter-icon {
        font-size: 3rem;
    }
}
