/* Navbar Styles */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    height: var(--navbar-height);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(0, 51, 102, 0.95);
    height: 60px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
    margin-left: auto;
}

.menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: 0.3s ease;
}

.menu-btn span:first-child {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 8px;
}

.menu-btn span:last-child {
    top: 16px;
}

.menu-btn.active span:first-child {
    transform: rotate(45deg);
    top: 8px;
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:last-child {
    transform: rotate(-45deg);
    top: 8px;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 51, 102, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease;
        opacity: 0;
        z-index: 1001;
    }

    .nav-links.active {
        left: 0;
        opacity: 1;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem 1rem;
    }

    .logo img {
        height: 40px;
    }
}