/* Blog Page Specific Styles */
.blog-page {
    background-color: #ffffff;
}

/* Blog Hero */
.blog-hero {
    position: relative;
    padding: 100px 0 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-bottom: 80px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.blog-excerpt {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blog-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info span {
    display: block;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 2px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 2px;
    color: var(--dark-color);
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 0;
}

.blog-hero-image {
    position: relative;
    height: 500px;
    margin-top: -100px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%);
}

/* Blog Content */
.blog-content {
    padding: 80px 0;
    position: relative;
    background-color: #ffffff;
}

.blog-content-inner {
    display: flex;
    gap: 60px;
}

.blog-article {
    flex: 2;
}

.blog-sidebar {
    flex: 1;
    position: relative;
}

.blog-article h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--dark-color);
    font-family: 'Montserrat', sans-serif;
}

.blog-article p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 25px;
}

.featured-image {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    font-size: 14px;
    color: var(--gray);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

.info-card {
    display: flex;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    gap: 20px;
    border-left: 4px solid var(--primary-color);
}

.info-card-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.info-card-content h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-card {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.pull-quote {
    margin: 40px 0;
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    background-color: #f8fafc;
    font-size: 22px;
    line-height: 1.6;
    color: var(--dark-color);
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.pull-quote footer {
    margin-top: 20px;
    font-size: 16px;
    font-style: normal;
    color: var(--gray);
}

.blog-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    padding: 40px;
    margin: 60px 0 40px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.blog-cta h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.blog-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid white;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Sidebar */
.sidebar-widget {
    margin-bottom: 40px;
    background-color: #f8fafc;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.widget-title {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.author-bio {
    text-align: center;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid var(--primary-color);
}

.author-bio h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-title {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 15px;
}

.author-bio p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 20px;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.author-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.related-posts {
    display: grid;
    gap: 20px;
}

.related-post {
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateX(5px);
}

.related-post img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-post-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.post-date {
    font-size: 13px;
    color: var(--gray);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.category-list span {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background-color: #f8fafc;
}

.newsletter-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.newsletter-content {
    flex: 1;
}

.newsletter h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.newsletter p {
    color: var(--gray);
    margin-bottom: 0;
}

.newsletter-form {
    flex: 1;
}

.newsletter-form .form-group {
    position: relative;
    margin-bottom: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    padding-right: 150px;
}

.newsletter-form button {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    padding: 0 25px;
    border: none;
}

.form-agreement {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-agreement input {
    width: auto;
}

.form-agreement label {
    font-size: 12px;
    color: var(--gray);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .blog-hero h1 {
        font-size: 42px;
    }
    
    .blog-article h2 {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .blog-content-inner {
        flex-direction: column;
    }
    
    .blog-sidebar {
        margin-top: 60px;
    }
    
    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding-top: 80px;
    }
    
    .blog-hero h1 {
        font-size: 36px;
    }
    
    .blog-excerpt {
        font-size: 18px;
    }
    
    .blog-hero-image {
        height: 400px;
        margin-top: -80px;
    }
    
    .blog-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 30px;
    }
    
    .blog-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .blog-hero-image {
        height: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .pull-quote {
        font-size: 18px;
        padding: 20px;
    }
}
/* Comments Section */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eaeaea;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.comment-list {
    margin-bottom: 40px;
}

.comment {
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #2c3e50;
}

.comment-date {
    font-size: 0.8rem;
    color: #888;
}

.comment-content {
    padding-left: 65px;
}

.comment-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.comment-reply {
    display: inline-block;
    margin-top: 15px;
    margin-left: 65px;
    font-size: 0.85rem;
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.comment.nested {
    margin-top: 20px;
    padding-left: 30px;
    border-left: 2px solid #4CAF50;
}

.comment-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.comment-form h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
}

.form-submit {
    margin-top: 20px;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 40px;
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4CAF50;
}

/* Case Studies Widget */
.case-studies {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-study {
    display: block;
    text-decoration: none;
    color: inherit;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.case-study:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.case-study-badge {
    display: inline-block;
    background: #f0f7f0;
    color: #4CAF50;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 600;
}

.case-study h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #2c3e50;
    transition: color 0.3s;
}

.case-study p {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.case-study:hover h4 {
    color: #4CAF50;
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #888;
}

.case-study-meta .results {
    color: #4CAF50;
    font-weight: 600;
}

/* CTA Widget */
.sidebar-cta {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 30px;
}

.sidebar-cta .widget-title {
    color: white;
}

.sidebar-cta .widget-title::after {
    background: rgba(255,255,255,0.5);
}

.cta-box {
    text-align: center;
}

.cta-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.cta-box h3 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 1.3rem;
}

.cta-box p {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.cta-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.cta-form button {
    width: 100%;
    padding: 12px;
    background: white;
    color: #4CAF50;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-form button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cta-disclaimer {
    margin-top: 15px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .comment-content {
        padding-left: 0;
    }
    
    .comment-reply {
        margin-left: 0;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}