/* Reset and Base Navbar Styles */
    .proper-nav {
        background: #ffffff;
        width: 100%;
        height: 65px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        display: flex;
        align-items: center;
        box-shadow: 0 1px 12px rgba(0,0,0,0.06);
        border-bottom: 1px solid #f1f1f1;
        transition: 0.3s;
    }

    .nav-container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Logo Styling */
    .brand-logo {
        display: flex;
        align-items: center;
        text-decoration: none !important;
        font-size: 1.25rem;
        font-weight: 800;
        color: #1877f2; /* Facebook Blue */
        letter-spacing: -0.5px;
    }

    .brand-logo i {
        font-size: 1.5rem;
        margin-right: 8px;
        background: -webkit-linear-gradient(#1877f2, #0056b3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .brand-logo span {
        color: #333;
        font-weight: 400;
    }

    /* Desktop Navigation Links */
    .nav-links {
        display: none;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    @media (min-width: 992px) {
        .nav-links {
            display: flex;
            gap: 25px;
        }
    }

    .nav-link-item {
        color: #4b5563;
        text-decoration: none !important;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 5px 0;
        position: relative;
        transition: 0.3s;
    }

    .nav-link-item:hover, .nav-link-item.active {
        color: #1877f2;
    }

    .nav-link-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: #1877f2;
        transition: 0.3s;
    }

    .nav-link-item:hover::after, .nav-link-item.active::after {
        width: 100%;
    }

    /* Tools Dropdown */
    .nav-dropdown {
        position: relative;
        cursor: pointer;
    }

    .nav-dropdown-content {
        position: absolute;
        top: 100%;
        right: 0;
        width: 260px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        padding: 10px 0;
        margin-top: 10px; /* Reduced gap slightly */
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        border: 1px solid #f3f4f6;
        pointer-events: none; /* Prevents interaction when hidden */
    }

    /* Invisible bridge to prevent closing when moving mouse to menu */
    .nav-dropdown-content::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }

    .nav-dropdown:hover .nav-dropdown-content,
    .nav-dropdown.active .nav-dropdown-content {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-tool-item {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        color: #374151;
        text-decoration: none !important;
        font-size: 0.95rem;
        font-weight: 600;
        transition: 0.2s;
    }

    .dropdown-tool-item:hover {
        background: #f0f7ff;
        color: #1877f2;
        padding-left: 25px;
    }

    .dropdown-tool-item i {
        width: 25px;
        color: #1877f2;
        font-size: 0.9rem;
        margin-right: 12px;
    }

    /* Mobile Hamburger */
    .nav-hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 10px;
    }

    @media (min-width: 992px) {
        .nav-hamburger {
            display: none;
        }
    }

    .nav-hamburger span {
        width: 25px;
        height: 3px;
        background: #1877f2;
        border-radius: 5px;
        transition: 0.3s;
    }

    /* Mobile Side Menu */
    .mobile-side-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        z-index: 10001;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 30px 25px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    }

    .mobile-side-menu.open {
        left: 0;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(5px);
        z-index: 10000;
        display: none;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #374151;
        text-decoration: none !important;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 10px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .mobile-menu-item i {
        color: #1877f2;
        width: 25px;
    }

    /* Fix for body scroll */
    body.menu-open {
        overflow: hidden;
    }
