/* Shared styles for Blog pages */
:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
    --accent-color: #0dcaf0;
}
body { font-family: 'Poppins', sans-serif; color: #333; overflow-x: hidden; }
.btn { padding: 0.75rem 2rem; border-radius: 50px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; border: none; }
.btn-primary { background: var(--primary-color); box-shadow: 0 4px 15px rgba(13,110,253,0.3); }
.btn-primary:hover { background: #0b5ed7; box-shadow: 0 6px 20px rgba(13,110,253,0.4); transform: translateY(-2px); }
.btn-outline-light { border: 2px solid white; color: white; }
.btn-outline-light:hover { background: white; color: var(--primary-color); transform: translateY(-2px); }
.hero-section { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); color: white; padding-top: 100px; }
.feature-item { padding: 2.5rem 2rem; background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.4s ease; border: 2px solid transparent; height: 100%; }
.feature-item:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(13,110,253,0.15); border-color: var(--primary-color); }
.feature-item:hover h3 { color: var(--primary-color); }
.feature-item:hover h4 { color: var(--primary-color); }
.navbar { padding: 1rem 0; background-color: rgba(33,37,41,0.95) !important; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: all 0.3s ease; }
.navbar.transparent { background-color: transparent !important; box-shadow: none; }
.navbar.scrolled { background-color: rgba(33,37,41,0.95) !important; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-link { padding: 0.5rem 1rem !important; position: relative; transition: color 0.3s ease; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; }
.nav-link:hover::after { width: 80%; }
html { scroll-behavior: smooth; }
.section-intro { font-size: 1.125rem; color: #6c757d; line-height: 1.7; }

/* Blog-specific styles */
.blog-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.05); }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(13,110,253,0.15); }
.blog-card-body { padding: 2rem; }
.blog-tag { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 50px; display: inline-block; }
.blog-date { font-size: 0.85rem; color: #6c757d; }
.blog-prose { font-size: 1.1rem; line-height: 1.8; color: #374151; }
.blog-prose p { margin-bottom: 1.5rem; }
.blog-prose h3 { margin-top: 2.5rem; margin-bottom: 1rem; }
.blog-prose code { background: #f1f5f9; padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.95rem; color: #e11d48; }
.blog-prose ul, .blog-prose ol { margin-bottom: 1.5rem; }
.blog-prose li { margin-bottom: 0.5rem; }

@media (max-width: 991px) {
    .navbar.transparent {
        background-color: rgba(33, 37, 41, 0.95) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .navbar-collapse {
        background-color: rgba(33, 37, 41, 0.98);
        border-radius: 0 0 0.5rem 0.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 767px) {
    .hero-section h1 { font-size: 2.25rem; }
}
