/* Compact Hero Styles */ 
        .blog-hero { 
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); 
            color: white; 
            padding: 60px 0; 
            text-align: center; 
            position: relative; 
        }
        .blog-hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .blog-hero h1 {
            font-size: 2.2rem;
            margin-bottom: 15px;
            line-height: 1.3;
        }
        
        .blog-hero p {
            font-size: 1.1rem;
            margin-bottom: 20px;
            opacity: 0.9;
        }
        
        .search-bar {
            max-width: 500px;
            margin: 20px auto 0;
            position: relative;
        }
        
        .search-bar input {
            width: 90%;
            padding: 13px 20px;
            border-radius: 30px;
            border: none;
            font-family: 'Inter', sans-serif;
        }
        
        .search-bar button {
            position: absolute;
            right: 10px;
            top: 5px;
            background: var(--secondary);
            border: none;
            color: white;
            border-radius: 50%;
            width: 34px;
            height: 34px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .search-bar button:hover {
            background: var(--secondary-dark);
        }

        .no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 40px;
            color: var(--text-light);
            font-size: 1.2rem;
        }
/* blog.css - Specific styles for blog page */
.blog-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-header::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%);
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.blog-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.blog-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--light-bg);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.category-btn.active,
.category-btn:hover {
    background: var(--secondary);
    color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.dynamics { background: #EBF5FF; color: #1d4e4e; }
.power-automate { background: #F0F7FF; color: #b56347; }
.azure { background: #F0F9FF; color: #2a6f6f; }
.clinical { background: #F0FFF4; color: #1d4e4e; }

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

.blog-card-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-card-readtime {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-sidebar {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.popular-posts {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text);
    position: relative;
    padding-bottom: 15px;
}

.sidebar-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
}

.popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text);
}

.popular-post-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 30px;
    border-radius: 12px;
    color: white;
}

.newsletter-box h3 {
    margin-bottom: 15px;
}

.newsletter-box p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.newsletter-form input {
    width: 91%;
    padding: 12px 15px;
    border-radius: 6px;
    border: none;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.newsletter-form button {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    background: white;
    color: var(--primary);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a.active,
.pagination a:hover {
    background: var(--secondary);
    color: white;
}

@media (max-width: 1024px) {
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 80px 0 60px;
    }
    
    .blog-header h1 {
        font-size: 1.8rem;
    }
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Navbar */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar-brand-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .navbar-collapse.show {
        transform: translateY(0);
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-link {
        padding: 10px 0;
        border-bottom: none !important;
    }
}