/* Base Styles - Matches index.css exactly */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --primary-light: #e7f1ff;
    --accent: #ffcc00;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
h1 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    font-size: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
    padding: 3rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Blogs Container */
.blogs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

/* Footer */
footer {
    background: var(--dark);
    color: #fff;
    margin-top: auto;
}

.footer-bottom {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0,0,0,0.2);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-link {
    text-decoration: none;
    color: inherit;
}

.blog-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-content {
    padding: 20px;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-read-more {
    color: #007bff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-read-more {
    color: #0056b3;
}

.blog-read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more i {
    transform: translateX(3px);
}

/* Responsive Styles */
/* Standardized Header Styles to match index.css */

/* Header Styles */
header {
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: static;
    top: 0;
    z-index: 1000;
}

.header-left {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.logo {
    height: 40px;
    width: auto;
    transition: var(--transition);
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.logo-divider {
    height: 30px;
    width: 2px;
    background: rgba(255,255,255,0.5);
}

/* Responsive header styles */
@media (max-width: 768px) {
    header {
        position: static;
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .header-left {
        width: 100%;
        justify-content: space-between;
    }
    
    header img.logo {
        max-width: 80px;
    }
    
    .logo-divider {
        display: none;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
    }
    
    nav ul li a {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .header-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav ul li a {
        font-size: 0.8rem;
    }
}