/* Blog-specific styles */

/* Blog Header */
.blog-header {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
}

.blog-header h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.blog-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Content */
.blog-content {
    padding: 100px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.blog-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.blog-icon i {
    font-size: 3rem;
}

.blog-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #764ba2;
}

.blog-card .blog-meta {
    padding: 1.5rem 2rem 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-meta span {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-category {
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.4rem;
    color: #333;
    margin: 1rem 2rem;
    line-height: 1.4;
}

.blog-card p {
    color: #666;
    line-height: 1.6;
    margin: 0 2rem 1.5rem;
    font-size: 1rem;
}

.blog-stats {
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    margin-bottom: 1.5rem;
}

.blog-stats span {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.read-more:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 4rem;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.newsletter-input input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: white;
}

.newsletter-input button {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-input button:hover {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
}

.newsletter-note {
    font-size: 0.85rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Article Page Styles */
.article-header {
    padding: 150px 0 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-meta span {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-title {
    font-size: 3rem;
    color: #333;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.3rem;
    color: #666;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.article-content {
    padding: 100px 0;
    background: white;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-body h2 {
    font-size: 2rem;
    color: #333;
    margin: 3rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-body h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 2.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h4 {
    color: #667eea;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-study {
    background: white;
    border: 2px solid #667eea;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.case-study h4 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-navigation {
    background: #f8f9fa;
    padding: 3rem 0;
    border-top: 1px solid #e9ecef;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.nav-link {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.nav-link h5 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.nav-link h4 {
    margin: 0;
    font-size: 1.1rem;
}

.back-to-blog {
    text-align: center;
    margin-bottom: 2rem;
}

.back-to-blog a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-blog a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-input {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .newsletter-input input,
    .newsletter-input button {
        border-radius: 0;
    }
    
    .newsletter-input input {
        border-radius: 10px 10px 0 0;
    }
    
    .newsletter-input button {
        border-radius: 0 0 10px 10px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .article-body h2 {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}