/* Blogs Page Styles */

/* Hero Section */
.blogs-hero {
    background: linear-gradient(135deg, #004BB8 0%, #003a91 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.blogs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
                linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.blogs-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.blogs-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blogs-hero__badge svg {
    width: 20px;
    height: 20px;
}

.blogs-hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.blogs-hero__description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.blogs-hero__meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: white;
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

/* Blog Categories */
.blog-categories {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.categories-filter {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.category-btn {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 0.9rem;
    flex-shrink: 0;
    white-space: nowrap;
    width: auto;
    max-width: none;
    display: inline-block;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 75, 184, 0.3);
}

/* Blog Posts Section */
.blog-posts {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

/* CTA Section for Blogs Page - Ensure consistency with homepage */
.blogs-page .cta {
    margin-top: 0;
    /* Now inherits exact same styling as homepage */
}

/* Responsive Design */
@media (max-width: 768px) {
    .blogs-hero__title {
        font-size: 2.5rem;
    }
    
    .blogs-hero__description {
        font-size: 1.1rem;
    }
    
    .blogs-hero__meta {
        gap: var(--spacing-lg);
    }
    
    .categories-filter {
        gap: var(--spacing-sm);
    }
    
    .category-btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.85rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .blogs-hero {
        padding: 100px 0 60px;
    }
    
    .blogs-hero__title {
        font-size: 2rem;
    }
    
    .blogs-hero__meta {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}
