    :root {
        --primary-color: #791291; /* Your purple footer color */
        --secondary-color: #2e2bb1;
        --accent-color: #ff6b6b;
        --success-color: #28a745;
        --dark-color: #343a40;
        --navbar-dark: #000000; /* Your black navbar */
        --text-dark: #2d3748;
        --text-light: #718096;
        --bg-light: #f7fafc;
        --border-radius: 12px;
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    /* Hero Banner with Top Blogs */
    .hero-banner {
        background: linear-gradient(135deg, #000000 0%, #791291 100%);
        color: white;
        padding: 4rem 0 5rem;
        position: relative;
        overflow: hidden;
        margin-bottom: 3rem;
    }

    .hero-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23791291' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, #ffffff 0%, #e0c3fc 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .hero-content .lead {
        font-size: 1.25rem;
        opacity: 0.9;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .top-blogs-grid {
        margin-top: 3rem;
    }

    .top-blog-card {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--border-radius);
        padding: 1.5rem;
        transition: all 0.3s ease;
        height: 100%;
    }

    .top-blog-card:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .top-blog-badge {
        background: var(--primary-color);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        margin-bottom: 1rem;
        display: inline-block;
    }

    .top-blog-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: white;
        line-height: 1.4;
    }

    .top-blog-excerpt {
        font-size: 0.9rem;
        opacity: 0.9;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .top-blog-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        opacity: 0.8;
    }

    .top-blog-read-more {
        color: white;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }

    .top-blog-read-more:hover {
        color: #ffd700;
        gap: 0.75rem;
    }

    /* Search Bar */
    .search-container {
        position: relative;
    }

    .search-container .form-control {
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.1);
        color: white;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .search-container .form-control::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .search-container .form-control:focus {
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--primary-color);
        color: white;
        box-shadow: 0 0 0 0.25rem rgba(121, 18, 145, 0.25);
    }

    .search-container .btn {
        background: var(--primary-color);
        border-color: var(--primary-color);
        font-weight: 600;
        padding: 1rem 2rem;
        transition: all 0.3s ease;
    }

    .search-container .btn:hover {
        background: #6a107e;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(121, 18, 145, 0.4);
    }

    /* Featured Articles Section */
    .featured-articles {
        margin-bottom: 4rem;
    }

    .featured-card {
        background: white;
        border: 1px solid #e9ecef;
        border-radius: var(--border-radius);
        overflow: hidden;
        transition: all 0.3s ease;
        height: 100%;
        box-shadow: var(--shadow);
    }

    .featured-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-color);
    }

    .featured-image {
        position: relative;
        overflow: hidden;
        height: 200px;
    }

    .featured-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .featured-card:hover .featured-image img {
        transform: scale(1.05);
    }

    .featured-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: var(--primary-color);
        color: white;
        padding: 0.35rem 1rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        z-index: 2;
    }

    .featured-content {
        padding: 1.5rem;
    }

    .category-tag .badge {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        font-size: 0.8rem;
        font-weight: 500;
        padding: 0.35rem 0.75rem;
    }

    .featured-title {
        font-weight: 600;
        color: var(--text-dark);
        line-height: 1.4;
        margin-bottom: 1rem;
        transition: color 0.3s ease;
    }

    .featured-title a:hover {
        color: var(--primary-color);
    }

    .featured-meta {
        font-size: 0.85rem;
        color: var(--text-light);
    }

    /* Trending & Featured Split Section */
    .trending-featured {
        margin-bottom: 4rem;
    }

    .trending-number {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-number-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10%;
    z-index: 1;
    opacity: 0.6;
}

.trending-number span {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 800;
    color: #791291; /* Your purple color */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

    /* Categories Sidebar */
    .categories-sidebar {
        background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
        border-radius: var(--border-radius);
        padding: 2rem;
        border: 1px solid #e9ecef;
        position: sticky;
        top: 100px;
    }

    .category-item {
        transition: all 0.3s ease;
        border-color: rgba(0, 0, 0, 0.1) !important;
    }

    .category-item:hover {
        background: white;
        padding-left: 15px;
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .category-item:hover .category-name i {
        transform: translateX(5px);
        transition: transform 0.3s ease;
    }

    /* Newsletter Card */
    .newsletter-card {
        background: white;
        border: 2px solid var(--primary-color);
        border-radius: var(--border-radius);
    }

    .newsletter-card .btn-primary {
        background: var(--primary-color);
        border-color: var(--primary-color);
    }

    /* Latest Articles */
    .latest-card {
        background: white;
        border: 1px solid #e9ecef;
        border-radius: var(--border-radius);
        padding: 1.5rem;
        height: 100%;
        transition: all 0.3s ease;
        box-shadow: var(--shadow);
    }

    .latest-card:hover {
        border-color: var(--primary-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-5px);
    }

    /* CTA Banner */
    .cta-banner {
         background: linear-gradient(135deg, #000000 0%, #791291 100%);
        border-radius: var(--border-radius);
        padding: 4rem 2rem;
        text-align: center;
        color: white;
        margin-bottom: 4rem;
    }

    .cta-banner h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .cta-banner p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-banner .btn-light {
        background: white;
        color: var(--primary-color);
        font-weight: 600;
        padding: 1rem 2.5rem;
        border-radius: 50px;
        transition: all 0.3s ease;
    }

    .cta-banner .btn-light:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 3rem;
        text-align: center;
    }

    .section-title {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
        position: relative;
        display: inline-block;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border-radius: 2px;
    }

    .sidebar-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 0.5rem;
    }

    .header-accent {
        width: 40px;
        height: 3px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border-radius: 2px;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        .hero-content h1 {
            font-size: 2.5rem;
        }
        
        .hero-content .lead {
            font-size: 1.1rem;
        }
        
        .top-blog-card {
            margin-bottom: 1rem;
        }
    }

    @media (max-width: 768px) {
        .hero-banner {
            padding: 3rem 0 4rem;
        }
        
        .hero-content h1 {
            font-size: 2rem;
        }
        
        .search-container {
            margin-top: 1rem;
        }
        
        .section-title {
            font-size: 1.75rem;
        }
    }

    @media (max-width: 576px) {
        .hero-banner {
            padding: 2rem 0 3rem;
        }
        
        .hero-content h1 {
            font-size: 1.75rem;
        }
        
        .search-container .btn {
            padding: 0.75rem 1.5rem;
        }
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .featured-card, .trending-card, .latest-card, .top-blog-card {
        animation: fadeInUp 0.6s ease;
    }