/* Blog Specific Styles */
.nav-menu .active {
    color: #3b82f6 !important;
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    padding: 8rem 0 4rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: blogPulse 6s ease-in-out infinite;
}

@keyframes blogPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.7; }
}

.blog-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: white;
}

.blog-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.blog-stats .stat {
    text-align: center;
}

.blog-stats .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.blog-stats .label {
    font-size: 1rem;
    opacity: 0.8;
    color: white;
}

/* Featured Article Section */
.featured-article {
    padding: 6rem 0;
    background-color: #f8fafc;
}

.featured-post {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 400px;
}

.featured-text {
    padding: 3rem;
}

.featured-image {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/* Blog Articles Section */
.blog-articles {
    padding: 6rem 0;
    background-color: #ffffff;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 2rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover,
.filter-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.blog-card-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-content {
    padding: 2rem;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.post-meta .category {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.post-meta .date,
.post-meta .read-time {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Blog Card Titles */
.blog-card h3 {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #1f2937;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #3b82f6;
}

.featured-text h3 a {
    font-size: 2rem;
    font-weight: 700;
}

/* Blog Card Text */
.blog-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Post Author */
.post-author {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.author-info strong {
    display: block;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Read More Links */
.read-more {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: #2563eb;
}

/* Blog Newsletter CTA */
.blog-newsletter {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    color: white;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.blog-newsletter h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.blog-newsletter p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.blog-newsletter .newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
}

.blog-newsletter input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.blog-newsletter button {
    padding: 1rem 2rem;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.blog-newsletter button:hover {
    background: #111827;
}

.newsletter-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        order: -1;
        padding: 1.5rem;
    }
    
    .featured-text {
        padding: 2rem;
    }
    
    .blog-newsletter {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 0 3rem;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-stats {
        gap: 2rem;
    }
    
    .blog-stats .number {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-filters {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .featured-text h3 a {
        font-size: 1.5rem;
    }
    
    .blog-newsletter .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: none;
    }
    
    .blog-newsletter input,
    .blog-newsletter button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1.125rem;
    }
    
    .blog-stats {
        gap: 1rem;
        flex-direction: column;
    }
    
    .featured-post {
        margin: 0 1rem;
    }
    
    .featured-text {
        padding: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .post-meta {
        gap: 0.5rem;
    }
    
    .post-meta .category {
        padding: 0.125rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .blog-newsletter {
        padding: 1.5rem;
    }
    
    .blog-newsletter h3 {
        font-size: 1.5rem;
    }
}