/* بسم الله الرحمن الرحيم
// Bismillah Hir Rahman Nir Raheem
// In the name of Allah, The Most Gracious, The Most Merciful
*/


/* ============================================================ */
/*                 MAIN CSS ENTRY POINT                          */
/* ============================================================ */

/* Main CSS Entry Point - Fixed Import Paths */
/* [TIMESTAMP: 2026-04-13] - Main CSS file for BDS Search website */

/* ============================================================ */
/*                 SVG BISMILLAH BADGE                           */
/* ============================================================ */

/* SVG Bismillah Badge */
.bismillah-badge {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    cursor: pointer;
    transition: all 300ms ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.bismillah-badge:hover {
    transform: translateX(-50%) scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

/* Mobile optimization */
@media (max-width: 768px) {
    .bismillah-badge {
        top: 10px;
    }

    .bismillah-badge svg {
        width: 100px;
        height: 35px;
    }

    .bismillah-badge svg text:first-child {
        font-size: 10px;
    }

    .bismillah-badge svg text:last-child {
        font-size: 7px;
    }
}

/* ============================================================ */
/*                 HEADER STYLES                                */
/* ============================================================ */

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 300ms;
    padding-left: 20px;
    padding-right: 20px;
}


@media (max-width: 768px) {
    .header {
        padding-left: 15px;
        padding-right: 15px;
    }
}


.header.scrolled {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    background-color: #111827f2;
    backdrop-filter: blur(var(--blur-sm));
}

/* ============================================================ */
/*                 SEARCH SECTION                               */
/* ============================================================ */

/* Search Results */
.search-results {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 24px !important;
    align-items: start !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}


/* Search Bar */
.search-bar {
    position: relative;
    max-width: 56rem;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: var(--text-sm);
    transition: all 300ms;
    /* Optional: Add subtle shadow for depth */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.75rem;
    background: linear-gradient(to right, #8b5cf6, #f43f5e);
    border-radius: 24px !important;
    transition: all 300ms;

}

.search-button:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.search-button svg {
    width: calc(var(--spacing)*5);
    height: calc(var(--spacing)*5);
    color: white;
}

/* Search Categories */
.search-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.search-category {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--blur-sm));
    color: rgba(255, 255, 255, 0.8);
    transition: all 300ms;
    white-space: nowrap;
}

.search-category:hover {
    background: rgba(255, 255, 255, 0.2);
}

.search-category.active {
    background: rgba(139, 92, 246, 0.2);
    color: white;
}

/* Search Results - Safe Container Styles */
.search-results-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .search-results-wrapper {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .search-results-wrapper {
        padding: 0 12px;
    }
}


/* ============================================================ */
/*                 CARD STYLES                                  */
/* ============================================================ */

/* Card Styles */
.card {
    border-radius: 24px !important;
    background-color: white;
    padding: 24px;
    transition: box-shadow 300ms ease;
    display: flex;
    flex-direction: column;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    overflow: hidden;
    box-sizing: border-box;
}

.card:hover {
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        max-width: 300px;
        /* Slightly smaller on tablet */
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .card {
        max-width: 280px;
        /* Even smaller on mobile */
        padding: 16px;
        aspect-ratio: auto;
        /* Allow taller cards on mobile */
    }
}

.company-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1 1 320px;
    /* KEY: Grow, shrink, base size */
    min-width: 280px;
    /* Minimum width */
    max-width: 400px;
    /* Maximum width */
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

/* ============================================================ */
/*                 COMPANY CARD HEADER                          */
/* ============================================================ */

/* Company Card Header - FLEXIBLE LAYOUT */
.company-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-shrink: 0;
    width: 100%;
    /* Use full width */
}


/* Company Info - FLEXIBLE */
.company-info {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    flex: 1;
    /* Take available space */
    min-width: 0;
    /* Allow shrinking */
}

/* Company Logo */
.company-logo {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: white;
    flex-shrink: 0;
    object-fit: cover;
}


/* Company Details H3 - TRUNCATE LONG NAMES */


/* Company Details H3 - CLEAN */
.company-details h3 {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    font-size: 15px;
    /* Control size here */
    line-height: 1.2;
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: none;
    height: auto;
    min-height: auto;
    flex-shrink: 0;
    flex-grow: 0;
}



/* Keep existing company-details container */
.company-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    max-width: 75%;
    text-overflow: ellipsis;


}


.company-details p {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    /* Force single line */
    overflow: hidden;
    /* Hide overflow */
    text-overflow: ellipsis;
    /* Add ellipsis */

    /* Remove all conflicting properties */
    height: auto;
    /* Natural height */
    min-height: 16px;
    /* Minimum height */
    max-width: 100%;
    /* Use available space */
    flex-shrink: 1;
    /* Allow shrinking */
    flex-grow: 0;
    /* Don't grow */
    display: block;
    /* Block display */
    line-height: 1.1;
    /* Very tight spacing */
}

/* ============================================================ */
/*                 COMPANY CATEGORIES                           */
/* ============================================================ */

/* Company Categories */
.company-category {
    font-size: var(--text-xs);
    color: #6b7280;
    margin-bottom: 6px;
}

/* ============================================================ */
/*                 CATEGORY & SUBCATEGORY STYLING               */
/* ============================================================ */

/* Main Category - Smaller */
.company-main-category {
    font-size: 0.88rem;
    /* Reduced from var(--text-sm) */
    color: #303a49;
    font-weight: 500;
    margin-bottom: 6px;
    /* Reduced spacing */
}

/* Sub Category - Even Smaller */
.company-sub-category {
    font-size: 0.8rem;
    /* Reduced from var(--text-xs) */
    color: #515763;
    opacity: 1.2;
    margin-bottom: 4px;
    /* Reduced spacing */
}


/* ============================================================ */
/*                 RISK BADGES                                  */
/* ============================================================ */



/* Boycott Badge */
.boycott {
    background: #fecdd3;
    color: #be123c;
}

/* Monitor Badge */
.monitor {
    background: #fef3c7;
    color: #d97706;
}

/* Alternative Badge */
.alternative {
    background: #d1fae5;
    color: #065f46;
}

/* ============================================================ */
/*                 COMPANY DESCRIPTION                           */
/* ============================================================ */

/* Company Description - FINAL FIX */
.company-description {
    color: #374151;
    font-size: 14px;
    line-height: 1.3;
    /* Tighter spacing */
    margin-bottom: 8px;
    /* Much smaller spacing */
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* Single line */
    min-height: 20px;
    /* Much smaller height */
    /* CRITICAL: Remove conflicting properties */
    white-space: normal;
    /* Allow wrapping but clamp lines */
    text-overflow: ellipsis;
    /* Add ellipsis */
}

/* DESKTOP: Fix desktop ellipsis issue */
@media (min-width: 768px) {
    .company-description {
        -webkit-line-clamp: 2;
        /* Show 2 lines on desktop */
        min-height: 32px;
        /* Height for 2 lines */
        /* Remove text-overflow on desktop - line-clamp handles ellipsis */
        text-overflow: none;
        line-height: 1.4;
        margin-bottom: 12px;
    }
}



/* ============================================================ */
/*                 COMPANY FOOTER                               */
/* ============================================================ */

/* Company Footer */
.company-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    flex-shrink: 0;
}

/* Company Info Tags */
.company-info-tags {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #6b7280;
    font-size: 12px;
    flex-wrap: wrap;
}



/* ============================================================ */
/*                 BUTTON STYLES                                */
/* ============================================================ */

/* Button Styles */
.btn-primary {
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: white;
    background: linear-gradient(to right, #8b5cf6, #f43f5e);
    border-radius: 9999px;
    transition: all 300ms;
    white-space: nowrap;
    /* Prevent text wrapping */
    overflow: hidden;
    /* Hide overflow content */
    text-overflow: ellipsis;
    /* Add "..." for long text */
    min-width: fit-content;
    /* Size to content */
    max-width: 200px;
    /* Maximum width limit */
    flex-shrink: 0;
    /* Prevent shrinking */
}


.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}


/* Focus state for accessibility */
.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-primary {
        padding: 0.6rem 1.2rem;
        font-size: 0.875rem;
        /* Slightly smaller */
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        /* Even smaller */
        gap: 0.25rem;
        /* Reduced gap */
    }
}

.btn-secondary {
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
    font-weight: 600;
    color: #374151;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 9999px;
    transition: all 300ms;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

/* ============================================================ */
/*                 PAGINATION STYLES                             */
/* ============================================================ */

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background-color: #374151;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 200ms;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 2.5rem;
    text-align: center;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #4b5563;
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background-color: #8b5cf6;
    color: white;
}

.pagination-info {
    margin-left: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* ============================================================ */
/*                 RESPONSIVE DESIGN                             */
/* ============================================================ */

/* Responsive Design - Search Results */
@media (max-width: 1024px) {
    .search-results {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .search-results {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 16px !important;
        padding: 16px !important;
    }
}

@media (max-width: 480px) {
    .search-results {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 12px !important;
    }


    .company-logo {
        width: 40px;
        height: 40px;
    }

    .company-details h3 {
        font-size: 16px;
    }
}

/* ============================================================ */
/*                 ANIMATION                                    */
/* ============================================================ */

/* Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================ */
/*                 LOGO CONTAINER STYLES                         */
/* ============================================================ */

/* Logo Container Styles */
.logo-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

/* ============================================================ */
/*                 ENHANCED PILL OVERFLOW FIX                   */
/* ============================================================ */

/* Enhanced Pill Overflow Fix */

/* Fix the conflicting CSS properties */
.risk-badge {
    padding: 6px 16px;
    font-size: 11px;
    border-radius: 9999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    flex-shrink: 0;
    word-break: normal;
    /* Fixed: removed conflict */
    hyphens: none;
    /* Fixed: removed conflict */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    min-width: 80px;
    /* Ensure minimum width */
}

/* Enhanced Mobile Support for Pills */

/* DESKTOP FIX: Remove width constraints and allow expansion */
@media (min-width: 768px) {
    .risk-badge {
        max-width: none;
        /* Remove width limit on desktop */
        overflow: visible;
        /* Allow overflow to be visible */
        text-overflow: none;
        /* Show full text instead of "..." */
        min-width: fit-content;
        /* Size to content */
        padding: 8px 20px;
        /* Keep enhanced padding */
        font-size: 12px;
        /* Keep enhanced font size */
        min-height: 36px;
        /* Keep enhanced height */
    }
}

/* Mobile devices (767px and below) */
@media (max-width: 767px) {
    .risk-badge {
        max-width: 100px;
        padding: 5px 14px;
        font-size: 10px;
        min-height: 28px;
    }
}

/* Extra small mobile devices (480px and below) */
@media (max-width: 480px) {
    .risk-badge {
        max-width: 90px;
        padding: 4px 12px;
        font-size: 9px;
        min-height: 24px;
    }
}

/* Enhanced company info layout for better spacing */
@media (max-width: 414px) {
    .company-info {
        gap: 8px !important;
    }

    .company-details h3 {
        font-size: 16px !important;
    }

    .company-card-header {
        margin-bottom: 12px !important;
    }
}

/* ============================================================ */
/*                 INVERTED RED TRIANGLE LOGO                   */
/* ============================================================ */

/* Inverted Red Triangle Logo */
.logo-triangle {
    width: 32px;
    height: 32px;
    position: relative;
}

.logo-triangle::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid #ef4444;
}

/* ============================================================ */
/*                 COMMUNITY DROPDOWN NAVIGATION                */
/* ============================================================ */

/* Community Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    color: white;
    border: 2px solid #8b5cf6;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 300ms;
}


.dropdown-toggle:hover {
    background: #8b5cf6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.3);
}

.dropdown-menu-desktop {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1f2937;
    border: 2px solid #8b5cf6;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 300ms;
    z-index: 40;
}

.dropdown-menu-desktop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 300ms;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.875rem;
}

nav .dropdown-item:hover {
    background: #8b5cf6;
    color: white;
}

nav .dropdown-item.active {
    background: #8b5cf6;
    color: white;
}


/* ============================================================ */
/*                 MOBILE MENU STYLES                           */
/* ============================================================ */

/* Mobile Menu Styles - FIXED for narrow vertical panel */
#mobile-menu {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    max-height: calc(100vh - 70px);
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    padding: 1rem;
    width: 280px;
    margin-left: 0;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#mobile-menu:not(.hidden) {
    transform: translateX(-50%);
}

/* Mobile menu items */
#mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    margin: 0.25rem 0;
    transition: all 0.2s ease;
    font-size: 1rem;
    text-align: left;
    width: 100%;
}

#mobile-menu a:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    transform: translateX(4px);
}

/* Mobile menu buttons */
#mobile-menu button {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    text-align: center;
}

/* ============================================================ */
/*                 MOBILE DROPDOWN STYLES                       */
/* ============================================================ */

/* Mobile dropdown styles - FIXED for small centered dropdown */
.mobile-dropdown {
    margin: 0.25rem 0;
}

.mobile-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(31, 41, 55, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid #8b5cf6;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-dropdown-toggle:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: #a78bfa;
}

/* Small centered dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
    max-width: 250px;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mobile-dropdown.active .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    margin: 0.25rem 0;
    transition: all 0.2s ease;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dropdown-menu a:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    transform: translateX(4px);
}

/* ============================================================ */
/*                 HAMBURGER MENU TOGGLE                        */
/* ============================================================ */

/* Hamburger menu toggle visibility */
@media (min-width: 768px) {
    #mobile-menu-toggle {
        display: none;
    }

    #mobile-menu,
    #mobile-menu.hidden {
        display: none;
    }
}

@media (max-width: 767px) {
    #mobile-menu-toggle {
        display: flex;
    }

    #mobile-menu.hidden {
        display: none;
    }

    #mobile-menu:not(.hidden) {
        display: block;
    }
}

/* ============================================================ */
/*                 ANIMATION                                    */
/* ============================================================ */

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ============================================================ */
/*                 BODY SCROLLING CONTROL                       */
/* ============================================================ */

/* Allow body scrolling when mobile menu is open */
body.mobile-menu-open {
    overflow: visible;
}

/* ============================================================ */
/*                 OVERLAY BACKGROUND                            */
/* ============================================================ */

/* Add overlay background */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 35;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================================ */
/*                 BODY BACKGROUND                              */
/* ============================================================ */

/* Body Background */
body {
    background-color: #111827;
}



/* ============================================================ */
/*                 SCROLL BAR FOR BLOG                          */
/* ============================================================ */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(139, 92, 246, 0.1);
    z-index: 60;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #f43f5e);
    transition: width 0.3s ease;
    width: 0%;
}