.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-initial {
    width: 100%;
    background: rgba(17, 24, 39, 0.95); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
}

.navbar-floating {
    width: 75%;
    margin: 1rem auto;
    border-radius: 1rem;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.3),
        0 0 60px -15px rgba(99, 102, 241, 0.2);
    transform: translateX(-50%);
    left: 50%;
}

.nav-link {
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #60A5FA, #9333EA);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 50;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 40;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .navbar-floating {
        width: 90%;
        margin: 0.5rem auto;
    }
}

.navbar-sticky {
    margin: 1rem auto;
    width: 90%;
    max-width: 1200px;
    left: 50%;
    margin: 10px;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: translateX(-50%);
    border-radius: 1rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.3),
        0 0 60px -20px rgba(99, 102, 241, 0.1);
}

.mobile-menu-button {
    width: 40px;
    height: 40px;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-button:active {
    transform: scale(0.95);
}
/* Footer Styles */
#footer-load footer {
    position: relative;
    z-index: 10;
}

#footer-load footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

#footer-load .container {
    position: relative;
}

#footer-load a:hover {
    transform: translateY(-2px);
    display: inline-block;
}

#footer-load .social-icons a {
    transition: all 0.3s ease;
}

#footer-load .social-icons a:hover {
    transform: translateY(-3px);
}
