/* Base navbar styles */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    width: 100%;
    max-width: 1100px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
    padding: 0.75rem 0;
    flex-shrink: 0;
}

.logo {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.niti-logo {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Desktop menu styles */
.menu-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.mobile-menu-btn {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    height: 100%;
}

.nav-link {
    color: #444444;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-inner {
        padding: 0 1rem;
    }

    .logo-container {
        gap: 1rem;
    }
    
    .logo {
        max-height: 35px;
    }
    
    .niti-logo {
        max-height: 28px;
    }

    .menu-container {
        margin-left: auto;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        max-width: 400px;
        height: auto;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link:hover {
        background-color: rgba(255, 107, 53, 0.1);
    }

    .nav-link::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 0.75rem;
    }
    
    .logo {
        max-height: 32px;
    }
    
    .niti-logo {
        max-height: 25px;
    }
}
