.navbar {
    position: sticky;
    top: 0;
    background-color: var(--bg-light);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo-img {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.logo i {
    color: var(--primary);
    margin-right: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
}

.nav-links.mobile {
    display: none;
}

.nav-links.mobile.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    background-color: var(--bg-light);
    position: absolute;
    top: 70px;
    left: 0;
    padding: 10px 0;
}