 

        /* Modern Header with Animation */
        .header-nav {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .header-nav.scrolled {
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        }

        
/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Smooth transitions for elements */
section {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animation classes */
.section-hidden {
    opacity: 1;
    transform: translateY(20px);
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* blog details section css */

.blog-detail-section {
            padding: 100px 0 50px;
            background: #fff;
        }

        .blog-header {
            max-width: 800px;
            margin: 0 auto 40px;
        }

        .blog-meta {
            color: var(--text-medium);
            font-size: 0.95rem;
        }

        .reading-time {
            background: var(--primary-color);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
        }

        .featured-image {
            height: 500px;
            object-fit: cover;
            border-radius: 12px;
            margin: 30px 0;
        }

        .blog-content {
            max-width: 800px;
            margin: 0 auto;
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--text-dark);
        }

        .ad-unit {
            background: rgba(74, 144, 226, 0.05);
            border: 2px dashed rgba(74, 144, 226, 0.3);
            border-radius: 8px;
            padding: 20px;
            margin: 30px 0;
            text-align: center;
        }

        .sidebar-ad {
            position: sticky;
            top: 100px;
        }

        .social-sharing {
            border-top: 1px solid #eee;
            padding-top: 30px;
            margin-top: 40px;
        }

        @media (max-width: 768px) {
            .blog-detail-section {
                padding: 80px 0 30px;
                display: block; /* Ensure it's not hidden */
            }
            
            .featured-image {
                height: 300px;
            }
            
            .sidebar-ad {
                display: none;
            }
        }

        .recommended-articles {
            margin-top: 30px;
        }

        .recommended-article {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            padding: 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
            background: white;
            border: 1px solid rgba(0,0,0,0.08);
        }

        .recommended-article:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .recommended-image {
            width: 100px;
            height: 70px;
            object-fit: cover;
            border-radius: 6px;
        }

        .recommended-content {
            flex: 1;
        }

        .recommended-title {
            font-size: 0.95rem;
            margin-bottom: 5px;
            font-weight: 600;
        }

        .recommended-meta {
            font-size: 0.85rem;
            color: var(--text-medium);
        }



        /* Footer Section */

.footer-section {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    padding: 60px 0;
}

.footer-section h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a.link-light-hover {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a.link-light-hover:hover {
    color: white;
}

.footer-section .form-control {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.footer-section .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #6BB2FF, #4A90E2);
    border: none;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.social-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .footer-section h5 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.85rem;
    }
}