:root {
    --primary-5003: #3b82f6;
    --primary-6003: #2563eb;
    --gray-700: #374151;
    --gradient-primary: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    --gradient-primary3: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    --font-family-primary3: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-semibold3: 600;
    --space-sm3: 0.5rem;
    --space-md3: 1rem;
    --space-xl3: 2rem;
    --radius-lg3: 0.75rem;
    --shadow-lg: 0 10px 25px rgba(33, 150, 243, 0.3);
    --shadow-lg3: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition-normal3: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    font-family: var(--font-family-primary3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    flex-shrink: 0;
    z-index: 1001;
    margin-left: 5%;
}

.logo-image {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(35%) sepia(65%) saturate(3200%) hue-rotate(202deg) brightness(115%) contrast(105%);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    font-size: 16px;
}

.nav-link:hover {
    color: #2196F3;
    text-shadow: 0 0 8px rgba(33, 150, 243, 0.6);
    box-shadow: 0 0 12px rgba(33, 150, 243, 0.15);
    background: rgba(33, 150, 243, 0.05);
    transform: translateY(-2px);
}

.nav-link-special {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.04), rgba(25, 118, 210, 0.02));
    border: 1px solid rgba(33, 150, 243, 0.08);
    border-radius: 12px;
    padding: 8px 16px !important;
    overflow: hidden;
    backdrop-filter: blur(2px);
    color: #333;
}

.nav-link-special:hover {
    color: #2196F3 !important;
    box-shadow: 0 0 12px rgba(33, 150, 243, 0.2);
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(25, 118, 210, 0.05));
    border-color: rgba(33, 150, 243, 0.25);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-right: 2%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn3 {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm3);
    padding: var(--space-md3) var(--space-xl3);
    border: none;
    border-radius: var(--radius-lg3);
    font-family: var(--font-family-primary3);
    font-weight: var(--font-weight-semibold3);
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal3);
    position: relative;
    overflow: hidden;
}

.btn3-primary {
    background: var(--gradient-primary3);
    color: white !important;
    box-shadow: var(--shadow-lg3);
}

.btn3-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg3);
}

.mobile-auth-buttons {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 15px;
}

.bar {
    width: 25px;
    height: 2.2px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 1024px) {
    .nav-logo {
        margin-left: 0;
    }

    #nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 100px !important;
        flex-direction: column !important;
        background: white !important;
        width: 100% !important;
        height: calc(100vh - 100px) !important;
        justify-content: flex-start !important;
        transition: left 0.3s ease-in-out !important;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05) !important;
        overflow-y: auto !important;
        z-index: 998 !important;
        display: flex !important;
    }

    #nav-menu.active {
        left: 0 !important;
    }

    #nav-menu li {
        text-align: center !important;
    }

    .nav-link {
        display: inline-block !important;
        width: auto !important;
        padding: 10px 20px !important;
    }

    .nav-link-special {
        display: inline-block !important;
        width: auto !important;
        margin-top: 5px !important;
    }

    .nav-actions {
        display: none !important;
    }

    .mobile-auth-buttons {
        display: flex !important;
        justify-content: center !important;
        margin-top: -1% !important;
        margin-bottom: 3% !important;
        border-top: none !important;
    }

    .mobile-login {
        width: auto !important;
        min-width: 140px !important;
        display: inline-flex !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 14px 24px !important;
        font-size: 16px !important;
        color: white !important;
        background: var(--gradient-primary3) !important;
        border-radius: var(--radius-lg3) !important;
    }

    #nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 5px !important;
        cursor: pointer !important;
        z-index: 1002 !important;
        width: 30px !important;
        height: 25px !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        margin-left: 15px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .bar {
        width: 100% !important;
        height: 3px !important;
        background: #333 !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
        display: block !important;
        border-radius: 3px !important;
    }

    #nav-toggle.active .bar:nth-child(1) { 
        transform: translateY(8px) rotate(45deg) !important; 
    }
    #nav-toggle.active .bar:nth-child(2) { 
        opacity: 0 !important; 
    }
    #nav-toggle.active .bar:nth-child(3) { 
        transform: translateY(-8px) rotate(-45deg) !important; 
    }
}