 /* --- Variables & Reset --- */
        :root {
            --primary-color: #2845D6;
            --secondary-color: #F68048;
            --dark-bg: #111827;
            --light-bg: #F3F4F6;
            --text-main: #1F2937;
            --text-muted: #6B7280;
            --card-bg: #FFFFFF;
            --radius-md: 12px;
            --radius-lg: 20px;
            --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 20px 25px -5px rgba(40, 69, 214, 0.15), 0 10px 10px -5px rgba(40, 69, 214, 0.1);
        }

        body {
            font-family: 'Poppins', sans-serif;
            font-size: 0.8rem; /* Compact design */
            color: var(--text-main);
            background-color: #fafafa;
            overflow-x: hidden;
            line-height: 1.6;
        }

        a { text-decoration: none; transition: all 0.3s ease; }
        
        h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.5px; }

        /* --- 1. Top Bar (Modernized) --- */
        .top-bar {
            background-color: var(--dark-bg);
            color: #d1d5db;
            font-size: 0.8rem;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .top-bar .contact-info span { margin-right: 20px; display: inline-flex; align-items: center; gap: 8px; }
        .top-bar .social-icons a {
            color: #9ca3af; margin-left: 12px; font-size: 1rem;
        }
        .top-bar .social-icons a:hover { color: var(--secondary-color); transform: translateY(-2px); }

        /* --- Navbar (Floating/Glass) --- */
        .navbar {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.03);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .navbar-brand { font-size: 1.6rem; font-weight: 800; color: var(--primary-color); }
        .navbar-brand span { color: var(--secondary-color); }
        
        .nav-link { font-weight: 500; color: var(--text-main); margin: 0 8px; position: relative; }
        .nav-link::after {
            content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
            background: var(--secondary-color); transition: width 0.3s;
        }
        .nav-link:hover::after, .nav-link.active::after { width: 100%; }
        .nav-link:hover, .nav-link.active { color: var(--primary-color); }

        /* --- 2. Hero Section (Smooth & Less Height) --- */
        .hero-section {
            position: relative;
            height: 420px;
            overflow: hidden;
            margin-top: 1px;
        }
        .slide {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            opacity: 0; transition: opacity 1.2s ease-in-out;
            background-size: cover; background-position: center;
            transform: scale(1.05); transition: transform 6s linear, opacity 1.2s ease-in-out;
        }
        .slide.active { opacity: 1; transform: scale(1); }
        
        /* Glassmorphism Overlay */
        .slide-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(90deg, rgba(40,69,214,0.85) 0%, rgba(40,69,214,0.4) 100%);
            display: flex; align-items: center; padding-left: 10%;
        }
        
        .hero-content { color: white; max-width: 600px; transform: translateY(20px); opacity: 0; transition: all 0.8s ease-out 0.3s; }
        .slide.active .hero-content { transform: translateY(0); opacity: 1; }
        
        .hero-tag {
            background: var(--secondary-color); color: white; padding: 5px 15px;
            border-radius: 50px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
            letter-spacing: 1px; display: inline-block; margin-bottom: 15px;
            box-shadow: 0 4px 10px rgba(246, 128, 72, 0.4);
        }
        .hero-title { font-size: 2.2rem; line-height: 1.2; margin-bottom: 15px; }

        /* --- Section Titles --- */
        .section-padding { padding: 70px 0; }
        .section-header { margin-bottom: 40px; display: flex; justify-content: space-between; align-items: end; }
        .section-title { font-size: 1.6rem; position: relative; display: inline-block; padding-bottom: 10px; }
        .section-title::before {
            content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 4px;
            background: var(--primary-color); border-radius: 2px;
        }
        .view-all { color: var(--secondary-color); font-weight: 600; font-size: 0.85rem; }

        /* --- 3. Latest Blog Grid (Attractive Cards) --- */
        .blog-card {
            border: none; background: var(--card-bg); border-radius: var(--radius-lg);
            overflow: hidden; box-shadow: var(--shadow-sm);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            height: 100%; display: flex; flex-direction: column;
        }
        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
        }

        .card-img-top-wrapper {
            position: relative; overflow: hidden; height: 200px;
        }
        .blog-card img {
            transition: transform 0.6s ease;
        }
        .blog-card:hover img { transform: scale(1.1); }
        
        .category-badge {
            position: absolute; top: 15px; right: 15px;
            background: rgba(255,255,255,0.95); backdrop-filter: blur(5px);
            color: var(--primary-color); font-size: 0.7rem; font-weight: 700;
            padding: 6px 12px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
        
        .blog-title {
            font-size: 1.15rem; margin-bottom: 12px; color: var(--text-main);
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        }
        .blog-title:hover { color: var(--primary-color); }

        .blog-excerpt {
            font-size: 0.85rem;
            color: #6b7280;
            line-height: 1.45;
            margin-bottom: 14px;
            display: -webkit-box;
            -webkit-line-clamp: 3; /* short excerpt */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }


        /* --- AUTHOR IMAGE FIX --- */
        .author-meta {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 15px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px;
        }
        .author-details { display: flex; align-items: center; gap: 10px; }
        .author-avatar {
            width: 35px; height: 35px; border-radius: 50%;
            object-fit: cover; border: 2px solid white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1); flex-shrink: 0; /* Prevents squishing */
        }
        .author-text { display: flex; flex-direction: column; line-height: 1.2; }
        .author-name { font-size: 0.8rem; font-weight: 600; color: #333; }
        .post-date { font-size: 0.7rem; color: #999; }

        .rating-stars { color: #FFC107; font-size: 0.8rem; }

        .blog-footer {
            margin-top: auto; display: flex; justify-content: space-between; align-items: center;
        }
        .interactions { display: flex; gap: 15px; }
        .interact-btn {
            background: none; border: none; color: #9ca3af; font-size: 0.9rem;
            cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 5px;
        }
        .interact-btn:hover { color: var(--primary-color); }
        .interact-btn.active { color: var(--primary-color); }
        .interact-btn.dislike.active { color: #EF4444; }
        
        .read-more-link {
            font-size: 0.8rem; font-weight: 700; color: var(--primary-color);
            text-transform: uppercase; letter-spacing: 0.5px;
            position: relative;
        }
        .read-more-link::after {
            content: '→'; margin-left: 5px; transition: transform 0.3s;
        }
        .read-more-link:hover::after { transform: translateX(5px); }

        /* --- 4. Most Viewed (List Style) --- */
        .most-viewed-section { background: var(--light-bg); position: relative; }
        /* Subtle pattern */
        .most-viewed-section::before {
            content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
            background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
            background-size: 20px 20px; opacity: 0.5; pointer-events: none;
        }

        .mv-card {
            background: white; border-radius: var(--radius-md); padding: 10px;
            display: flex; align-items: center; margin-bottom: 15px;
            transition: 0.3s; border: 1px solid transparent;
            position: relative; z-index: 2;
        }
        .mv-card:hover {
            box-shadow: var(--shadow-sm); border-color: rgba(40, 69, 214, 0.2);
            transform: translateX(5px);
        }
        .mv-thumb {
            width: 90px; height: 70px; border-radius: 8px; object-fit: cover;
            margin-right: 15px; flex-shrink: 0;
        }
        .mv-info h6 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
        .mv-stats { font-size: 0.75rem; color: var(--secondary-color); font-weight: 500; }

        /* --- 5. Testimonials --- */
        .testimonial-box {
            background: white; padding: 30px; border-radius: var(--radius-lg);
            text-align: center; box-shadow: var(--shadow-sm); border: 1px solid #f3f3f3;
            transition: 0.3s;
        }
        .testimonial-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
        .quote-icon { font-size: 2rem; color: var(--primary-color); opacity: 0.2; margin-bottom: 10px; }
        .t-text { font-style: italic; color: #4b5563; font-size: 0.9rem; margin-bottom: 20px; }
        .t-user img {
            width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
            border: 2px solid var(--secondary-color); padding: 2px;
        }

        /* --- 6. Subscribe (Gradient Banner) --- */
        .subscribe-banner {
            background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
            color: white; padding: 60px 0; text-align: center;
            border-radius: 0; position: relative; overflow: hidden;
        }
        .subscribe-banner::after {
            content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
            background: rgba(255,255,255,0.1); border-radius: 50%; pointer-events: none;
        }
        .sub-form { max-width: 500px; margin: 25px auto 0; position: relative; z-index: 2; }
        .sub-input {
            width: 100%; padding: 15px 25px; border-radius: 50px; border: none;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15); outline: none;
        }
        .sub-btn {
            position: absolute; right: 5px; top: 5px;
            background: var(--secondary-color); color: white;
            border: none; padding: 10px 25px; border-radius: 40px;
            font-weight: 600; cursor: pointer; transition: 0.3s;
        }
        .sub-btn:hover { background: #e56a38; transform: scale(1.05); }

        /* --- 7. Footer --- */
        .footer { background: var(--dark-bg); color: #d1d5db; padding-top: 70px; padding-bottom: 20px; font-size: 0.85rem; }
        .footer h5 { color: white; font-size: 1.1rem; margin-bottom: 20px; }
        .footer ul li { margin-bottom: 10px; }
        .footer ul li a { color: #9ca3af; }
        .footer ul li a:hover { color: var(--secondary-color); padding-left: 5px; }
        .footer-social a {
            width: 38px; height: 38px; background: rgba(255,255,255,0.1);
            display: inline-flex; align-items: center; justify-content: center;
            border-radius: 50%; color: white; margin-right: 10px; transition: 0.3s;
        }
        .footer-social a:hover { background: var(--secondary-color); transform: translateY(-3px); }
        .copyright { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; padding-top: 20px; text-align: center; font-size: 0.8rem; }

        /* --- Animations --- */
        .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
        .reveal.active { opacity: 1; transform: translateY(0); }

        /* Responsive */
        @media (max-width: 768px) {
            .top-bar { display: none; }
            .hero-section { height: 350px; }
            .hero-title { font-size: 1.5rem; }
            .slide-overlay { padding: 20px; align-items: flex-end; justify-content: center; }
            .hero-content { text-align: center; margin-bottom: 20px; }
            .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
            .sub-btn { position: relative; width: 100%; margin-top: 10px; right: 0; top: 0; border-radius: 50px; }
            .sub-input { border-radius: 50px; }
        }

        /* --- BLOG DETAILS PAGE --- */
         /* --- Layout --- */
        .page-content { padding: 60px 0; }
        
        /* --- Left Column: Blog Details --- */
        .blog-details-img {
            width: 100%; height: auto; border-radius: var(--radius-lg);
            margin-bottom: 25px; object-fit: cover;
        }

        .blog-meta-title {
            font-size: 0.85rem; color: var(--text-muted); font-weight: 500;
            margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
        }
        .blog-meta-title i { color: var(--secondary-color); }

        .blog-main-title {
            font-size: 2.2rem; line-height: 1.3; margin-bottom: 20px;
        }

        .blog-content p { margin-bottom: 20px; color: #4b5563; text-align: justify; }
        .blog-content h3 { font-size: 1.4rem; margin: 30px 0 15px; color: var(--primary-color); }
        .blog-content blockquote {
            border-left: 4px solid var(--secondary-color);
            background: #fff9f5; padding: 20px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
            font-style: italic; margin: 25px 0; color: #555;
        }

        /* --- Share Section --- */
        .share-section {
            border-top: 1px solid #eee; border-bottom: 1px solid #eee;
            padding: 20px 0; margin: 40px 0; display: flex; align-items: center;
            justify-content: space-between; flex-wrap: wrap; gap: 15px;
        }
        .share-title { font-weight: 600; font-size: 0.9rem; }
        .social-share-btns { display: flex; gap: 10px; }
        .share-btn {
            width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
            justify-content: center; color: white; font-size: 1rem; transition: transform 0.2s;
        }
        .share-btn:hover { transform: translateY(-3px); opacity: 0.9; }
        .wa { background-color: #25D366; }
        .fb { background-color: #3B5998; }
        .tw { background-color: #1DA1F2; }
        .li { background-color: #0077B5; }

        /* --- Comments Section --- */
        .comments-section { margin-top: 50px; }
        .comment-item {
            display: flex; gap: 15px; margin-bottom: 25px;
        }
        .comment-avatar {
            width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
            border: 2px solid white; box-shadow: var(--shadow-sm); flex-shrink: 0;
        }
        .comment-body {
            background: white; padding: 15px 20px; border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm); flex-grow: 1;
        }
        .comment-header {
            display: flex; justify-content: space-between; margin-bottom: 8px;
        }
        .comment-author { font-weight: 700; font-size: 0.9rem; }
        .comment-date { font-size: 0.75rem; color: var(--text-muted); }
        .reply-link { font-size: 0.8rem; color: var(--primary-color); font-weight: 600; cursor: pointer; }

        .comment-form-box {
            background: white; padding: 25px; border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm); margin-top: 30px;
        }
        .form-control {
            background: #f9fafb; border: 1px solid #eee; border-radius: 8px; padding: 12px;
        }
        .form-control:focus {
            background: white; border-color: var(--primary-color); box-shadow: none;
        }

        /* --- Right Column: Sidebar (Sticky) --- */
        .sidebar-sticky { position: sticky; top: 100px; }
        
        .widget {
            background: white; border-radius: var(--radius-lg);
            padding: 25px; margin-bottom: 30px;
            box-shadow: var(--shadow-sm); border: 1px solid #f0f0f0;
        }
        .widget-title {
            font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 10px;
            border-bottom: 2px solid #f3f4f6; position: relative;
        }
        .widget-title::after {
            content: ''; position: absolute; bottom: -2px; left: 0; width: 40px;
            height: 2px; background: var(--primary-color);
        }

        /* Search Widget */
        .search-input-group { position: relative; }
        .search-input-group input {
            width: 100%; padding: 12px 40px 12px 15px; border-radius: 50px;
            border: 1px solid #eee; background: #f9fafb; outline: none; transition: 0.3s;
        }
        .search-input-group input:focus { border-color: var(--primary-color); background: white; }
        .search-btn {
            position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
            background: var(--primary-color); color: white; border: none;
            width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
        }

        /* Author Widget */
        .author-profile { text-align: center; }
        .author-profile-img {
            width: 100px; height: 100px; border-radius: 50%; object-fit: cover;
            border: 3px solid var(--secondary-color); padding: 3px; margin-bottom: 15px;
        }
        .author-socials a {
            display: inline-flex; width: 32px; height: 32px; background: #f3f4f6;
            align-items: center; justify-content: center; border-radius: 50%; margin: 0 3px;
            color: #555; font-size: 0.8rem;
        }
        .author-socials a:hover { background: var(--primary-color); color: white; }

        /* Categories Widget */
        .cat-list { list-style: none; padding: 0; margin: 0; }
        .cat-list li { margin-bottom: 12px; }
        .cat-list a {
            display: flex; justify-content: space-between; align-items: center;
            color: var(--text-main); font-weight: 500;
        }
        .cat-list a:hover { color: var(--primary-color); padding-left: 5px; }
        .cat-count {
            background: #f3f4f6; color: #666; font-size: 0.75rem;
            padding: 2px 8px; border-radius: 10px; font-weight: 600;
        }

        /* Tags Widget */
        .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag-badge {
            background: #f3f4f6; color: #555; padding: 6px 14px; border-radius: 6px;
            font-size: 0.8rem; font-weight: 500; transition: 0.3s;
        }
        .tag-badge:hover {
            background: var(--secondary-color); color: white; transform: translateY(-2px);
        }

        /* --- Related Blogs (Bottom) --- */
        .related-section { background: white; padding: 60px 0; margin-top: 40px; }
        .related-card {
            border: none; border-radius: var(--radius-md); overflow: hidden;
            box-shadow: var(--shadow-sm); transition: 0.3s; height: 100%;
        }
        .related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
        .related-card img { height: 160px; object-fit: cover; width: 100%; }
        .related-body { padding: 15px; }
        .related-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        @media (max-width: 991px) {
            .sidebar-sticky { position: static; margin-top: 40px; }
            .blog-main-title { font-size: 1.8rem; }
        }